Skip to content

Latest commit

 

History

History
124 lines (82 loc) · 4.25 KB

nf-winuser-copyacceleratortablew.md

File metadata and controls

124 lines (82 loc) · 4.25 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winuser.CopyAcceleratorTableW
CopyAcceleratorTableW function (winuser.h)
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. (Unicode)
CopyAcceleratorTable
CopyAcceleratorTable function [Menus and Other Resources]
CopyAcceleratorTableW
_win32_CopyAcceleratorTable
_win32_copyacceleratortable_cpp
menurc.copyacceleratortable
winui._win32_copyacceleratortable
winuser/CopyAcceleratorTable
winuser/CopyAcceleratorTableW
menurc\copyacceleratortable.htm
menurc
VS|winui|~\winui\windowsuserinterface\userinput\keyboardaccelerators\keyboardacceleratorreference\keyboardacceleratorfunctions\copyacceleratortable.htm
12/05/2018
CopyAcceleratorTable, CopyAcceleratorTable function [Menus and Other Resources], CopyAcceleratorTableA, CopyAcceleratorTableW, _win32_CopyAcceleratorTable, _win32_copyacceleratortable_cpp, menurc.copyacceleratortable, winui._win32_copyacceleratortable, winuser/CopyAcceleratorTable, winuser/CopyAcceleratorTableA, winuser/CopyAcceleratorTableW
winuser.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
CopyAcceleratorTableW (Unicode) and CopyAcceleratorTableA (ANSI)
User32.lib
User32.dll
Windows
19H1
CopyAcceleratorTableW
winuser/CopyAcceleratorTableW
c++
APIRef
kbSyntax
DllExport
User32.dll
Ext-MS-Win-NTUser-Keyboard-l1-1-2.dll
Ext-MS-Win-NTUser-Keyboard-L1-2-0.dll
Ext-MS-Win-NTUser-Keyboard-L1-2-1.dll
Ext-MS-Win-NTUser-Keyboard-L1-3-0.dll
CopyAcceleratorTable
CopyAcceleratorTableA
CopyAcceleratorTableW

CopyAcceleratorTableW function

-description

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.

-parameters

-param hAccelSrc [in]

Type: HACCEL

A handle to the accelerator table to copy.

-param lpAccelDst [out, optional]

Type: LPACCEL

An array of ACCEL structures that receives the accelerator-table information.

-param cAccelEntries [in]

Type: int

The number of ACCEL structures to copy to the buffer pointed to by the lpAccelDst parameter.

-returns

Type: int

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.

-see-also

ACCEL

Conceptual

CreateAcceleratorTable

DestroyAcceleratorTable

Keyboard Accelerators

LoadAccelerators

Reference

TranslateAccelerator

-remarks

Note

The winuser.h header defines CopyAcceleratorTable as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.