DragDetect function user32

int DragDetect(
  1. int hwnd,
  2. POINT pt
)

Captures the mouse and tracks its movement until the user releases the left button, presses the ESC key, or moves the mouse outside the drag rectangle around the specified point.

BOOL DragDetect(
  HWND  hwnd,
  POINT pt);

Implementation

int DragDetect(int hwnd, POINT pt) => _DragDetect(hwnd, pt);