网站首页  词典首页

请输入您要查询的函数:

 

术语 copyacceleratortable
释义 CopyAcceleratorTable
语法:
int CopyAcceleratorTable( HACCEL hAccelSrc,
LPACCEL lpAccelDst,
int cAccelEntries
);
CopyAcceleratorTable功能
该CopyAcceleratorTable函数复制指定的加速表。这个函数是用来获取加速器表数据相对应的加速器表句柄,或者确定加速器大小表数据。
参数
hAccelSrc
[in]句柄加速表的副本。
lpAccelDst
[out]指向一个阿塞尔结构的数组,它接收加速器表信息。
cAccelEntries
[in]指定阿塞尔结构的数目复制到缓冲区指出的lpAccelDst参数。
返回值
如果lpAccelDst为NULL,则返回值指定数目的加速器,在原表的表项。否则,它指定了加速器的数量已复制的表项。
备注
在Windows 95/98/Me:CopyAcceleratorTableW是支持微软层对于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版本。
参见
键盘加速器,阿塞尔,CreateAcceleratorTable,DestroyAcceleratorTable,LoadAccelerators,TranslateAccelerator
==英文原文==CopyAcceleratorTable Function
The CopyAcceleratorTable function copies the specified accelerator table. This function is used to obtain the accelerator-table data that corresponds to an accelerator-table handle, or to determine the size of the accelerator-table data.
Syntax
int CopyAcceleratorTable( HACCEL hAccelSrc,
LPACCEL lpAccelDst,
int cAccelEntries
);
Parameters
hAccelSrc
[in] Handle to the accelerator table to copy.
lpAccelDst
[out] Pointer to an array of ACCEL structures that receives the accelerator-table information.
cAccelEntries
[in] Specifies the number of ACCEL structures to copy to the buffer pointed to by the lpAccelDst parameter.
Return Value
If lpAccelDst is NULL, the return value specifies the number of accelerator-table entries in the original table. Otherwise, it specifies the number of accelerator-table entries that were copied.
Remarks
Windows 95/98/Me: CopyAcceleratorTableW 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 , CreateAcceleratorTable , DestroyAcceleratorTable , LoadAccelerators , TranslateAccelerator
==原始网址==http://msdn.microsoft.com/en-us/library/ms646364(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:28:12