DATAOBJ_GET_ITEM_FLAGS enumeration (shobjidl_core.h)
Values used by the SHGetItemFromDataObject function to specify options concerning the processing of the source object.
Syntax
typedef enum DATAOBJ_GET_ITEM_FLAGS {
DOGIF_DEFAULT = 0,
DOGIF_TRAVERSE_LINK = 0x1,
DOGIF_NO_HDROP = 0x2,
DOGIF_NO_URL = 0x4,
DOGIF_ONLY_IF_ONE = 0x8
} ;
Constants
DOGIF_DEFAULT Value: 0 0x0000. No special options. |
DOGIF_TRAVERSE_LINK Value: 0x1 0x0001. If the source object is a link, base the IShellItem on the link's target rather than the link file itself. |
DOGIF_NO_HDROP Value: 0x2 0x0002. If the source data object does not contain data in the CFSTR_SHELLIDLIST format, which identifies the object through an IDList, do not revert to the CF_HDROP format, which uses a file path, as an alternative in the transfer. |
DOGIF_NO_URL Value: 0x4 0x0004. If the source data object does not contain data in the CFSTR_SHELLIDLIST format, which identifies the object through an IDList, do not revert to the CFSTR_INETURL clipboard format, which uses a URL, as an alternative in the transfer. |
DOGIF_ONLY_IF_ONE Value: 0x8 0x0008. If the source object is an array of items, use it only if the array contains just one item. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | shobjidl_core.h (include Shobjidl.h) |