Revokes the registration of the specified application window as a potential target for OLE drag-and-drop operations.
WINOLEAPI RevokeDragDrop(
  HWND hwnd  //Handle to a window that can accept drops
);
 
This function supports the standard return value E_OUTOFMEMORY, as well as the following:
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.
  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ole2.h.
  Import Library: Included as a resource in ole32.dll.