Determines whether the IDataObject interface previously placed on the clipboard by the OleSetClipboard function is still on the clipboard.

HRESULT OleIsCurrentClipboard(

IDataObject * pDataObj
//The data object previously copied or cut



Points to the instance of IDataObject that the caller previously placed on the clipboard.

Return Values


Indicates that IDataObject is currently on the clipboard and the caller is the owner of the clipboard.


Indicates that IDataObject is not on the clipboard.

Notes to Callers

only works for the data object used in the OleSetClipboard function. It cannot be called by the consumer of the data object to determine if the object that was on the clipboard at the previous OleGetClipboard call is still on the clipboard.

See Also

OleFlushClipboard, OleSetClipboard

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database