GetKeyboardLayout function user32
Retrieves the active input locale identifier (formerly called the keyboard layout).
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getkeyboardlayout.
Implementation
@pragma('vm:prefer-inline')
HKL GetKeyboardLayout(int idThread) => HKL(_GetKeyboardLayout(idThread));