CDataObject::GetData
HRESULTCDataObject::GetData(LPFORMATETClpFormatEtc, LPSTGMEDIUMlpStgMedium)
Get the data out of the object. This is a member of IDataObject
Defined in: DataSource.h
Return Value
Returns DV_E_LINDEX if lpFormatEtc->lindex is not == -1. 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.
lpStgMedium
Pointer to a STGMEDIUM structure holding the data.