Export (0) Print
Expand All
Expand Minimize


Checks whether a container application can create a linked object from the given COleDataObject object.

static BOOL PASCAL CanCreateLinkFromData( 
   const COleDataObject* pDataObject  


Pointer to the COleDataObject object from which the OLE item is to be created.

Nonzero if the container can create a linked object from the COleDataObject object.

The COleDataObject class is used in data transfers for retrieving data in various formats from the Clipboard, through drag and drop, or from an embedded OLE item.

Containers can use this function to decide to enable or disable their Edit Paste Special and Edit Paste Link commands.

For more information, see the article Data Objects and Data Sources (OLE).

Header: afxole.h

© 2014 Microsoft