ActivateKeyboardLayout function user32

int ActivateKeyboardLayout(
  1. int hkl,
  2. int Flags
)

Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard.

HKL ActivateKeyboardLayout(
  HKL  hkl,
  UINT Flags
);

Implementation

int ActivateKeyboardLayout(int hkl, int Flags) =>
    _ActivateKeyboardLayout(hkl, Flags);