网站首页  词典首页

请输入您要查询的函数:

 

术语 getkeyboardlayoutlist
释义 GetKeyboardLayoutList
语法:
UINT GetKeyboardLayoutList( int nBuff,
HKL *lpList
);
GetKeyboardLayoutList功能
该GetKeyboardLayoutList函数检索输入法区域设置标识符(以前称为键盘布局句柄)在系统中相对应的输入法区域设置的集合。该函数复制到指定的缓冲区标识符。
参数
nBuff
[in]指定的最大数量的句柄缓冲区可以容纳。
lpList
[out]指向的缓冲区,它接收的输入法区域设置标识符数组。
返回值
如果函数成功,返回值是输入法区域设置复制到缓冲区标识符号码,或者如果nBuff为零,则返回值的大小,在数组元素的需要得到所有当前的输入法区域设置标识符的缓冲区。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
输入法区域设置标识符是一个比键盘布局更广泛的概念,因为它也可以包括演讲到文本转换器,输入法编辑器(IME),或任何其他形式的投入。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 4.0
参见
键盘输入,GetKeyboardLayout
==英文原文==GetKeyboardLayoutList Function
The GetKeyboardLayoutList function retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system. The function copies the identifiers to the specified buffer.
Syntax
UINT GetKeyboardLayoutList( int nBuff,
HKL *lpList
);
Parameters
nBuff
[in] Specifies the maximum number of handles that the buffer can hold.
lpList
[out] Pointer to the buffer that receives the array of input locale identifiers.
Return Value
If the function succeeds, the return value is the number of input locale identifiers copied to the buffer or, if nBuff is zero, the return value is the size, in array elements, of the buffer needed to receive all current input locale identifiers.
If the function fails, the return value is zero. 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.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 4.0
See Also
Keyboard Input , GetKeyboardLayout
==原始网址==http://msdn.microsoft.com/en-us/library/ms646297(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 11:25:17