GetKeyboardType function Null safety user32

int GetKeyboardType(
  1. int nTypeFlag
)

Retrieves information about the current keyboard.

int GetKeyboardType(
  int nTypeFlag
);

Implementation

int GetKeyboardType(int nTypeFlag) {
  final _GetKeyboardType = _user32.lookupFunction<
      Int32 Function(Int32 nTypeFlag),
      int Function(int nTypeFlag)>('GetKeyboardType');
  return _GetKeyboardType(nTypeFlag);
}