Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_DEFAULTValue: 0 0x0000. No special options. |
DOGIF_TRAVERSE_LINKValue: 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_HDROPValue: 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_URLValue: 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_ONEValue: 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) |