COleServerItem::GetObjectDescriptorData

voidGetObjectDescriptorData(LPPOINT*lpOffset,LPSIZE*lpSize,LPSTGMEDIUMlpStgMedium**);**

Parameters

lpOffset

Offset of the mouse click from the upper-left corner of the OLE item. Can be NULL.

lpSize

Size of the OLE item. Can be NULL.

lpStgMedium

Pointer to the structure that will receive the CF_OBJECTDESCRIPTOR data for the OLE item.

Remarks

Call this function to get the CF_OBJECTDESCRIPTOR data for an OLE item. The information is copied into the STGMEDIUM structure pointed to by lpStgMedium. This format includes the information needed for the Paste Special dialog.

For more information, see in the OLE 2 Programmer’s Reference, Volume 1.

COleServerItem OverviewClass MembersHierarchy Chart

See Also   COleServerItem::AddOtherClipboardData, COleServerItem::GetEmbedSourceData, COleServerItem::GetLinkSourceData, COlePasteSpecialDialog