ReleaseCapture function Null safety user32

int ReleaseCapture()

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() {
  final _ReleaseCapture = _user32
      .lookupFunction<Int32 Function(), int Function()>('ReleaseCapture');
  return _ReleaseCapture();
}