网站首页  词典首页

请输入您要查询的函数:

 

术语 loadaccelerators
释义 LoadAccelerators
语法:
HACCEL LoadAccelerators( HINSTANCE hInstance,
LPCTSTR lpTableName
);
LoadAccelerators函数
该LoadAccelerators函数加载指定的加速表。
参数
hInstance
[in]句柄模块的可执行文件包含了加速表加载。
lpTableName
[in]指向一个空结束的字符串,其中包含的加速器表的名称加载。另外,此参数可以指定在低位字一个加速器资源标识符表资源和零的高位字。要创建此值,使用MAKEINTRESOURCE宏。
返回值
如果函数成功,返回值是一个句柄加载加速表。
如果函数失败,返回值为NULL。为了获得更多错误信息,调用GetLastError。
备注
如果加速表尚未加载,加载它的功能从指定的可执行文件。
从资源加载加速器表被释放时自动应用程序终止。
在Windows 95/98/Me:LoadAcceleratorsW是支持微软层对于Unicode。要使用此,您必须将某些文件到您的应用,概述了对Unicode的Microsoft层在Windows 95/98/Me系统。
有关示例,请参阅创建字体属性加速器。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为ANSI和Unicode版本。
参见
键盘加速器,CopyAcceleratorTable,CreateAcceleratorTable,DestroyAcceleratorTable,MAKEINTRESOURCE
==英文原文==LoadAccelerators Function
The LoadAccelerators function loads the specified accelerator table.
Syntax
HACCEL LoadAccelerators( HINSTANCE hInstance,
LPCTSTR lpTableName
);
Parameters
hInstance
[in] Handle to the module whose executable file contains the accelerator table to load.
lpTableName
[in] Pointer to a null-terminated string that contains the name of the accelerator table to load. Alternatively, this parameter can specify the resource identifier of an accelerator-table resource in the low-order word and zero in the high-order word. To create this value, use the MAKEINTRESOURCE macro.
Return Value
If the function succeeds, the return value is a handle to the loaded accelerator table.
If the function fails, the return value is NULL. To get extended error information, call GetLastError .
Remarks
If the accelerator table has not yet been loaded, the function loads it from the specified executable file.
Accelerator tables loaded from resources are freed automatically when the application terminates.
Windows 95/98/Me: LoadAcceleratorsW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems .
For an example, see Creating Accelerators for Font Attributes .
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 ANSI and Unicode versions.
See Also
Keyboard Accelerators , CopyAcceleratorTable , CreateAcceleratorTable , DestroyAcceleratorTable , MAKEINTRESOURCE
==原始网址==http://msdn.microsoft.com/en-us/library/ms646370(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:32:19