IDropTarget::DragLeave

Removes target feedback and releases the data object.

HRESULT DragLeave(void);
 

Return Values

This method supports the standard return value E_OUTOFMEMORY, as well as the following:

S_OK
The method completed its task successfully.

Remarks

You do not call this method directly. The DoDragDrop function calls this method in either of the following cases:

To implement IDropTarget::DragLeave, you must remove any target feedback that is currently displayed. You must also release any references you hold to the data transfer object.

QuickInfo

  Windows NT: Use version 3.1 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in oleidl.h.

See Also

DoDragDrop, IDropSource, IDropTarget, RegisterDragDrop, RevokeDragDrop