COleDataObject::AttachClipboard

BOOLAttachClipboard();

Return Value

Nonzero if successful; otherwise 0.

Remarks

Call this function to attach the data object that is currently on the Clipboard to the COleDataObject object.

Note   Calling this function locks the Clipboard until this data object is released. The data object is released in the destructor for the COleDataObject. For more information, see and in the Win32 documention.

COleDataObject OverviewClass MembersHierarchy Chart

See Also   COleDataObject::Attach, COleDataObject::Detach, COleDataObject::Release