GetKeyboardLayout function user32

int GetKeyboardLayout(
  1. int idThread
)

Retrieves the active input locale identifier (formerly called the keyboard layout).

HKL GetKeyboardLayout(
  DWORD idThread
);

Implementation

int GetKeyboardLayout(int idThread) => _GetKeyboardLayout(idThread);