DAD_DragMove function (shlobj_core.h)

[DAD_DragMove is available in Windows 2000 and Windows XP. It might be altered or unavailable in subsequent versions. Use ImageList_DragMove instead. ]

Moves the image that is being dragged during a drag-and-drop operation.

Syntax

BOOL DAD_DragMove(
  POINT pt
);

Parameters

pt

Type: POINT

The coordinates at which to display the drag image. The coordinates are relative to the upper-left corner of the window, not the client area.

Return value

Type: BOOL

Returns nonzero if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.00 or later)
API set ext-ms-win-shell-shell32-l1-2-1 (introduced in Windows 10, version 10.0.10240)