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);


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