GetKeyboardLayout The GetKeyboardLayout function retrieves the active input locale identifier (formerly called the keyboard layout) for the specified thread. If the idThread parameter is zero, the input locale identifier for the active thread is returned.
VB4-32,5,6
Declare Function GetKeyboardLayout Lib "user32" (ByVal dwLayout As Long) As Long |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
- idThread
[in] Identifies the thread to query or is zero for the current thread. |
The return value is the input locale identifier for the thread. The low word contains a language identifier for the input language and the high word contains a device handle for the physical layout of the keyboard. |
|