CDataObject::CacheGlobalData

void CDataObject::CacheGlobalData(CLIPFORMAT cfFormat, HGLOBAL hGlobal, LPFORMATETC lpFormatEtc = NULL)

Cache a memory handle into the object

Defined in: DataSource.h

Parameters

cfFormat

Format of data (text, metafile, bitmap, etc. )

hGlobal

Memory handle to cache

lpFormatEtc = NULL

Pointer to a FORMATETC structure containing information about the format of the data.

Comments

CacheGlobalData adds data held in a global memory handle to the data object cache