GetInputState function Null safety user32

int GetInputState()

Determines whether there are mouse-button or keyboard messages in the calling thread's message queue.

BOOL GetInputState();

Implementation

int GetInputState() {
  final _GetInputState =
      _user32.lookupFunction<Int32 Function(), int Function()>('GetInputState');
  return _GetInputState();
}