Expand Minimize

DATAOBJ_GET_ITEM_FLAGS enumeration

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        = 0x0000,
  DOGIF_TRAVERSE_LINK  = 0x0001,
  DOGIF_NO_HDROP       = 0x0002,
  DOGIF_NO_URL         = 0x0004,
  DOGIF_ONLY_IF_ONE    = 0x0008
} DATAOBJ_GET_ITEM_FLAGS;

Constants

DOGIF_DEFAULT

0x0000. No special options.

DOGIF_TRAVERSE_LINK

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

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

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

0x0008. If the source object is an array of items, use it only if the array contains just one item.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft