|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
GetKeyboardLayoutName
The GetKeyboardLayoutName function retrieves the name of the active keyboard layout.
BOOL GetKeyboardLayoutName(
LPTSTR pwszKLID
| // address of buffer for layout name
| );
|
|
Parameters
pwszKLID
Points to the buffer of at least KL_NAMELENGTH characters that is to receive the name of the keyboard layout, including the
NULL terminator. This will be a copy of the string provided to the LoadKeyboardLayout function, unless layout substitution took place.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error
information, call GetLastError.
Remarks
Windows NT:
GetKeyboardLayoutName gets the name of the active keyboard layout for the system.
Windows 95:
GetKeyboardLayoutName gets the name of the active keyboard layout for the calling thread.
See Also
ActivateKeyboardLayout, LoadKeyboardLayout, UnloadKeyboardLayout
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
|