COleDataObject::BeginEnumFormats

void BeginEnumFormats( );

Remarks

Call this function to prepare for subsequent calls to GetNextFormat for retrieving a list of data formats from the item.

After a call to BeginEnumFormats, the position of the first format supported by this data object is stored. Successive calls to GetNextFormat will enumerate the list of available formats in the data object.

To check on the availability of data in a given format, use COleDataObject::IsDataAvailable.

For more information, see IDataObject::EnumFormatEtc in the OLE 2 Programmer’s Reference, Volume 1.

COleDataObject OverviewClass MembersHierarchy Chart

See Also   COleDataObject::GetNextFormat, COleDataObject::IsDataAvailable