|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
GetKeyboardLayout
[Now Supported on Windows NT]
The GetKeyboardLayout function retrieves the active keyboard layout for a specified thread. If the dwLayout parameter is zero, the layout for the active thread is returned.
HKL GetKeyboardLayout(
DWORD dwLayout
| // thread identifier
| );
|
|
Parameters
dwLayout
Identifies the thread to query or is zero for the current thread.
Return Values
The return value is the keyboard layout handle for the thread. The low word
contains a locale identifier identifying the input language and the high word
contains a device handle identifying the physical layout of the keyboard.
See Also
ActivateKeyboardLayout, CreateThread, LoadKeyboardLayout
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|