GetCapture function user32

int GetCapture()

Retrieves a handle to the window (if any) that has captured the mouse. Only one window at a time can capture the mouse; this window receives mouse input whether or not the cursor is within its borders.

HWND GetCapture();

Implementation

int GetCapture() => _GetCapture();