ReleaseCapture function user32
Releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread.
BOOL ReleaseCapture();
Implementation
int ReleaseCapture() => _ReleaseCapture();