VkKeyScanEx function user32
Translates a character to the corresponding virtual-key code and shift state.
The function translates the character using the input language and physical keyboard layout identified by the input locale identifier.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-vkkeyscanexw.
Implementation
@pragma('vm:prefer-inline')
int VkKeyScanEx(int ch, HKL dwhkl) => _VkKeyScanEx(ch, dwhkl);