Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this function to associate the COleDataObject object with an OLE data object.
void Attach(
LPDATAOBJECT lpDataObject,
BOOL bAutoRelease = TRUE
);
Parameters
lpDataObject
Points to an OLE data object.bAutoRelease
TRUE if the OLE data object should be released when the COleDataObject object is destroyed; otherwise FALSE.
Remarks
For more information, see IDataObject in the Windows SDK.
Requirements
Header: afxole.h