网站首页  词典首页

请输入您要查询的函数:

 

术语 unloadkeyboardlayout
释义 UnloadKeyboardLayout
语法:
BOOL UnloadKeyboardLayout( HKL hkl
);
UnloadKeyboardLayout功能
卸载的UnloadKeyboardLayout函数的输入区域设置标识符(以前称为键盘布局)。
参数
hkl
[in]输入区域设置标识符卸载。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。该函数可能会失败,原因如下:
一个无效的输入区域设置标识符获得通过。
输入法区域设置标识符预装。
输入法区域设置标识符正在使用中。
为了获得更多错误信息,调用GetLastError。
备注
输入法区域设置标识符是一个比键盘布局更广泛的概念,因为它也可以包括演讲到文本转换器,输入法编辑器(IME),或任何其他形式的投入。
在Windows 95/98/Me:UnloadKeyboardLayout不能卸载的系统默认输入法区域设置标识符。这将确保一个适当的字符集总是为壳或文件系统的名称用户键入命令可用。
Windows NT/2000/XP的:UnloadKeyboardLayout不能卸载的系统默认输入法区域设置标识符,如果这是唯一的键盘布局加载。您必须先卸载之前加载默认的输入法区域设置标识符另一个输入区域设置标识符。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
键盘输入,ActivateKeyboardLayout,GetKeyboardLayoutName,LoadKeyboardLayout
==英文原文==UnloadKeyboardLayout Function
The UnloadKeyboardLayout function unloads an input locale identifier (formerly called a keyboard layout).
Syntax
BOOL UnloadKeyboardLayout( HKL hkl
);
Parameters
hkl
[in] Input locale identifier to unload.
Return Value
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 input locale identifier was passed.
The input locale identifier was preloaded.
The input locale identifier is in use.
To get extended error information, call GetLastError .
Remarks
The input locale identifier is a broader concept than a keyboard layout, since it can also encompass a speech-to-text converter, an Input Method Editor (IME), or any other form of input.
Windows 95/98/Me: UnloadKeyboardLayout cannot unload the system default input locale identifier. 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/2000/XP: UnloadKeyboardLayout cannot unload the system default input locale identifier if it is the only keyboard layout loaded. You must first load another input locale identifier before unloading the default input locale identifier.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Keyboard Input , ActivateKeyboardLayout , GetKeyboardLayoutName , LoadKeyboardLayout
==原始网址==http://msdn.microsoft.com/en-us/library/ms646324(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:15:22