Index   Commented   Search   About

OleIsCurrentClipboard

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
);

Parameter

pDataObject

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

Return Values

S_OK

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

S_FALSE

Indicates that IDataObject is not on the clipboard.

Notes to Callers

OleIsCurrentClipboard
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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun