RegisterDragDrop

[DllImport("ole32.dll", SetLastError = true)]
public static extern int RegisterDragDrop(
   IntPtr hwnd,
   IDropTarget pDropTarget
);

Microsoft documentation: Link

Last updated