This function 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 = 0 )
origin.h