The DATADIR enumeration values specify the direction of the data flow in the dwDirection parameter of the IDataObject::EnumFormatEtc method. This determines the formats that the resulting enumerator can enumerate.
typedef enum tagDATADIR 
{ 
    DATADIR_GET            = 1, 
    DATADIR_SET            = 2 
} DATADIR; 
 
  Windows NT:  Use version 3.1 and later. 
  Windows: Use Windows 95 and later. 
  Windows CE:  Unsupported.
  Header: Declared in objidl.h.