Partager via


CreateAcceleratorTable (Windows Embedded CE 6.0)

1/6/2010

This function creates an accelerator table.

Syntax

HACCEL CreateAcceleratorTable(
  LPACCEL lpaccl, 
  int cEntries
);

Parameters

  • lpaccl
    Long pointer to an array of ACCEL structures that describes the accelerator table.
  • cEntries
    Specifies the number of ACCEL structures in the array.

Return Value

The handle to the created accelerator table indicates success. NULL indicates failure. To get extended error information, call GetLastError.

Remarks

Before an application closes, it must use the DestroyAcceleratorTable function to destroy each accelerator table that it created by using the CreateAcceleratorTable function.

Requirements

Header winuser.h
Library Accel.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Keyboard Functions
DestroyAcceleratorTable
LoadAccelerators
TranslateAccelerator
ACCEL