|
RevokeDragDrop
Revokes the registration of the specified application window as a potential
target for OLE drag and drop operations.
HRESULT RevokeDragDrop(
HWND hwnd
| //Window that can accept drops
| );
|
|
Parameter
hwnd
Specifies the handle to a window previously registered as a target for an OLE
drag and drop operation.
Return Values
S_OK
Indicates registration as a target window was revoked successfully.
DRAGDROP_E_INVALIDHWND
Indicates invalid handle returned in the hwnd parameter.
DRAGDROP_E_NOTREGISTERED
Indicates an attempt was made to revoke a drop target that has not been
registered.
E_OUTOFMEMORY
Out of memory.
Comments
When your application window is no longer available as a potential target for
an OLE drag and drop operation, you must call RevokeDragDrop.
This function calls the IUnknown::Release method for your drop target interface.
See Also
RegisterDragDrop
Related LinksSoftware 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
|