{"id":42783,"date":"2003-08-27T10:16:00","date_gmt":"2003-08-27T10:16:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2003\/08\/27\/what-are-those-little-overlay-icons\/"},"modified":"2003-08-27T10:16:00","modified_gmt":"2003-08-27T10:16:00","slug":"what-are-those-little-overlay-icons","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20030827-00\/?p=42783","title":{"rendered":"What are those little overlay icons?"},"content":{"rendered":"<p>\n        Windows XP ships with a number of icon overlays.\n    <\/p>\n<ul>\n<li>\n            A small arrow. Everybody knows this one: It&#8217;s the shortcut overlay.\n        <\/li>\n<li>\n            A hand, palm up. This is the &#8220;sharing&#8221; overlay. A folder with this overlay is the\n            root of a file share.\n        <\/li>\n<li>\n            A downward-pointing blue arrow. This is the &#8220;to be written to CD&#8221; overlay.\n        <\/li>\n<li>\n            A pair of blue swirling arrows. This sometimes baffles people. This means that the\n            item is available offline. (You have to enable offline folders to get this.)\n        <\/li>\n<li>\n            A black clock. This really baffles people. This means that the file has been archived\n            to tape and will take a very long time to access.\n        <\/li>\n<\/ul>\n<p>\n        The black clock is particularly baffling because you sometimes see it even if your\n        system is not equipped with <a href=\"https:\/\/www.microsoft.com\/windows2000\/techinfo\/planning\/management\/remstore.asp\">Hierarchical\n        Storage Management<\/a>. When this happens, it&#8217;s because some program (typically a\n        setup program) didn&#8217;t check error codes properly.\n    <\/p>\n<pre>CopyFileAttributes(LPCTSTR pszSrc, LPTSTR pszDst)\n{\n    SetFileAttributes(pszDst, GetFileAttributes(pszSrc));\n}\n<\/pre>\n<p>\n        The above code fragment fails to check for an error code from <code>GetFileAttributes<\/code>.\n        It so happens that <code>GetFileAttributes<\/code> fails by returning the value 0xFFFFFFFF.\n        If you fail to check this error code, you end up setting every possible attribute\n        on the destination, including <code>FILE_ATTRIBUTE_OFFLINE<\/code>. <code>FILE_ATTRIBUTE_OFFLINE<\/code> is\n        the flag that tells Explorer that the file has been archived to tape.\n    <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows XP ships with a number of icon overlays. A small arrow. Everybody knows this one: It&#8217;s the shortcut overlay. A hand, palm up. This is the &#8220;sharing&#8221; overlay. A folder with this overlay is the root of a file share. A downward-pointing blue arrow. This is the &#8220;to be written to CD&#8221; overlay. A [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[25,104],"class_list":["post-42783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-code","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Windows XP ships with a number of icon overlays. A small arrow. Everybody knows this one: It&#8217;s the shortcut overlay. A hand, palm up. This is the &#8220;sharing&#8221; overlay. A folder with this overlay is the root of a file share. A downward-pointing blue arrow. This is the &#8220;to be written to CD&#8221; overlay. A [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/42783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=42783"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/42783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=42783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=42783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=42783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}