GetKeyboardLayout (Compact 2013)
3/28/2014
This function retrieves the active input language identifier for a specified thread.
Syntax
HKL GetKeyboardLayout(
DWORD idThread
);
Parameters
- idThread
[in] Set to NULL to get the keyboard layout of the active thread. No other value is supported.
Return Value
The input language identifier for the thread indicates success. The low-order word contains a language identifier for the input language and the high-order word contains a device handle for the physical layout of the keyboard. For more information about language identifiers, see Language Identifiers and Locales.
Remarks
If the idThread parameter is zero, the input language identifier for the active thread is returned.
The input language identifier can include a speech-to-text converter, an IME, or any other form of input.
Requirements
Header |
winuser.h |
Library |
Coreimm.lib |