COleDataObject::GetGlobalData
HGLOBALGetGlobalData(CLIPFORMATcfFormat**,LPFORMATETClpFormatEtc=NULL);**
Return Value
The handle of the global memory block containing the data if successful; otherwise NULL.
Parameters
cfFormat
The format in which data is to be returned. This parameter can be one of the predefined Clipboard formats or the value returned by the native Windows function.
lpFormatEtc
Points to a structure describing the format in which data is to be returned. Provide a value for this parameter if you want to specify additional format information beyond the Clipboard format specified by cfFormat. If it is NULL, the default values are used for the other fields in the FORMATETC structure.
Remarks
Call this function to allocate a global memory block and to retrieve data in the specified format into an HGLOBAL.
For more information, see ****in the OLE 2 Programmer's Reference, Volume 1.
For more information, see in the Win32 documentation.
COleDataObject Overview | Class Members | Hierarchy Chart
See Also COleDataObject::GetData, COleDataObject::GetFileData, COleDataObject::IsDataAvailable