<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.1.25080.3" />

IDropTarget

public static void PopulateVTable(Vtbl* vtable)

public uint AddRef()

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.

public HRESULT DragLeave()

Removes target feedback and releases the data object.

public HRESULT DragOver(MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)

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.

public HRESULT QueryInterface(Guid* riid, Void** ppvObject)

public uint Release()