CDataObject::QueryGetData

HRESULT CDataObject::QueryGetData(LPFORMATETC lpFormatEtc)

Find out if a certain format of data is available.

Defined in: DataSource.h

Return Value

Returns DATA_E_FORMATETC if an unavailable format was requested. Returns S_OK otherwise.

Parameters

lpFormatEtc

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

Comments

QueryGetData is a member of the COM interface IDataObject. See the Platform SDK documentation about IDataObject for more information