IDropTarget
public HRESULT DragEnter(IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
Indicates whether a drop can be accepted, and, if so, the effect of the drop.
Removes target feedback and releases the data object.
Provides target feedback to the user and communicates the drop's effect to the DoDragDrop function so it can communicate the effect of the drop back to the source.
public HRESULT Drop(IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
Incorporates the source data into the target window, removes target feedback, and releases the data object.