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
Call this function to associate the COleDataObject object with an OLE data object.
For more information, see IDataObject in the OLE 2 Programmer's Reference, Volume 1.
COleDataObject Overview | Class Members | Hierarchy Chart
See Also COleDataObject::AttachClipboard, COleDataObject::Detach, COleDataObject::Release