LockWorkStation function Null safety user32

int LockWorkStation()

Locks the workstation's display. Locking a workstation protects it from unauthorized use.

BOOL LockWorkStation();

Implementation

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