COleServerItem::GetObjectDescriptorData

void GetObjectDescriptorData( LPPOINT* lpOffset, LPSIZE* lpSize, LPSTGMEDIUM lpStgMedium );

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 STGMEDIUM 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 STGMEDIUM in the OLE 2 Programmer’s Reference, Volume 1.

COleServerItem OverviewClass MembersHierarchy Chart

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