CDataObject::GetCanonicalFormatEtc

HRESULTCDataObject::GetCanonicalFormatEtc(LPFORMATETClpFormatEtc, LPFORMATETClpFormatEtc)

Provides a standard FORMATETC structure that is logically equivalent to one that is more complex.

Defined in: DataSource.h

Parameters

lpFormatEtc

Pointer to a FORMATETC structure holding the format information of the requested data type.

lpFormatEtc

Pointer to a FORMATETC structure holding the format information of the requested data type.

Comments

GetCanonicalFormatEtc Provides a standard FORMATETC structure that is logically equivalent to one that is more complex. You use this method to determine whether two different FORMATETC structures would return the same data, removing the need for duplicate rendering.