BlockInput function Null safety user32

int BlockInput (
  1. int fBlockIt
)

Blocks keyboard and mouse input events from reaching applications.

BOOL BlockInput(
  BOOL fBlockIt);

Implementation

int BlockInput(int fBlockIt) {
  final _BlockInput = _user32.lookupFunction<Int32 Function(Int32 fBlockIt),
      int Function(int fBlockIt)>('BlockInput');
  return _BlockInput(fBlockIt);
}