|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
UnloadKeyboardLayout
The UnloadKeyboardLayout function removes a keyboard layout.
BOOL UnloadKeyboardLayout(
HKL hkl
| // handle of keyboard layout
| );
|
|
Parameters
hkl
Identifies the keyboard layout to unload.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. The function can fail for the
following reasons:
- An invalid keyboard layout handle was passed.
- The layout was preloaded.
- The layout is in use.
Remarks
Windows 95: UnloadKeyboardLayout cannot unload the system default keyboard layout. This ensures that an
appropriate character set is always available for the user to type commands for the
shell or names for the file system.
Windows NT: UnloadKeyboardLayout can unload the system default keyboard layout.
See Also
ActivateKeyboardLayout, GetKeyboardLayoutName, 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
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
|