DATADIR enumeration (objidl.h)

Specifies the direction of the data flow. This determines the formats that the resulting enumerator can enumerate.

Syntax

typedef enum tagDATADIR {
  DATADIR_GET = 1,
  DATADIR_SET = 2
} DATADIR;

Constants

 
DATADIR_GET
Value: 1
Requests that IDataObject::EnumFormatEtc supply an enumerator for the formats that can be specified inIDataObject::GetData.
DATADIR_SET
Value: 2
Requests that IDataObject::EnumFormatEtc supply an enumerator for the formats that can be specified in IDataObject::SetData.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header objidl.h

See also

IDataObject::EnumFormatEtc

OleRegEnumFormatEtc