术语 | createacceleratortable |
释义 | CreateAcceleratorTable 语法: HACCEL CreateAcceleratorTable( LPACCEL lpaccl, int cEntries ); CreateAcceleratorTable功能 该CreateAcceleratorTable函数创建一个加速表。 参数 lpaccl [in]指向一个阿塞尔结构的数组,它描述加速表。 舜帝 [in]指定阿塞尔结构数组中的数字。 返回值 如果函数成功,返回值是创建的句柄加速表,否则为NULL。为了获得更多错误信息,调用GetLastError。 备注 应用程序关闭之前,它可以使用DestroyAcceleratorTable函数来摧毁任何加速表,它通过使用CreateAcceleratorTable函数创建。 在Windows 95/98/Me:CreateAcceleratorTableW是支持微软层对于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,DestroyAcceleratorTable,LoadAccelerators,TranslateAccelerator ==英文原文==CreateAcceleratorTable Function The CreateAcceleratorTable function creates an accelerator table. Syntax HACCEL CreateAcceleratorTable( LPACCEL lpaccl, int cEntries ); Parameters lpaccl [in] Pointer to an array of ACCEL structures that describes the accelerator table. cEntries [in] Specifies the number of ACCEL structures in the array. Return Value If the function succeeds, the return value is the handle to the created accelerator table; otherwise, it is NULL. To get extended error information, call GetLastError . Remarks Before an application closes, it can use the DestroyAcceleratorTable function to destroy any accelerator table that it created by using the CreateAcceleratorTable function. Windows 95/98/Me: CreateAcceleratorTableW 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 User Editable Accelerators . 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 , ACCEL , CopyAcceleratorTable , DestroyAcceleratorTable , LoadAccelerators , TranslateAccelerator ==原始网址==http://msdn.microsoft.com/en-us/library/ms646365(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。