Contents Index Topic Contents | ||
Previous Topic: SHCONTF Next Topic: WinInet API |
SHGNO
typedef enum tagSHGDN { SHGDN_NORMAL = 0, SHGDN_INFOLDER = 1, SHGDN_INCLUDE_NONFILESYS = 0x2000, SHGDN_FORADDRESSBAR = 0x4000, SHGDN_FORPARSING = 0x8000, } SHGNO;Defines the values used with the IShellFolder::GetDisplayNameOf and IShellFolder::SetNameOf methods.
This enumeration consists of two sets of values. The first set is contained in bits 0 through 7 and specifies if the name is relative to this folder or if the name is a full name. The following are valid values in this set:
SHGDN_NORMAL Name is a full name. That is, the name is relative to the desktop and not to any specific folder. SHGDN_INFOLDER Name is relative to the folder that is processing the name. The second set of values is contained in bits 8 through 15. These values are modifiers to the first set and specify the name retrieval options. The following are valid values in this set:
SHGDN_NORMAL Name will be used for generic display. SHGDN_FORADDRESSBAR Name will be used for display in the address bar combo box. SHGDN_FORPARSING Name will be used for parsing. That is, it can be passed to ParseDisplayName. SHGDN_INCLUDE_NONFILESYS If this flag is set, the calling application is interested in names of any types of items. If this flag is not set, the calling application is only interested in items that are part of the file system. If this flag is not set and the item is not part of the file system, this method should fail. See also Display Names
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.