Compartir a través de


COleServerItem::GetObjectDescriptorData

Call this function to get the CF_OBJECTDESCRIPTOR data for an OLE item.

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

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 Windows SDK.

Requirements

Header: afxole.h

See Also

Concepts

COleServerItem Class

COleServerItem Members

Hierarchy Chart

COleServerItem::AddOtherClipboardData

COleServerItem::GetEmbedSourceData

COleServerItem::GetLinkSourceData

COlePasteSpecialDialog Class