VkKeyScan function Null safety user32

int VkKeyScan (
  1. int ch
)

Translates a character to the corresponding virtual-key code and shift state for the current keyboard.

SHORT VkKeyScanW(
  WCHAR ch
);

Implementation

int VkKeyScan(int ch) {
  final _VkKeyScan =
      _user32.lookupFunction<Int16 Function(Uint16 ch), int Function(int ch)>(
          'VkKeyScanW');
  return _VkKeyScan(ch);
}