CreateAcceleratorTable (Windows CE 5.0)

Send Feedback

This function creates an accelerator table.

HACCELCreateAcceleratorTable(LPACCELlpaccl, intcEntries);

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Accel.lib.

See Also

DestroyAcceleratorTable | LoadAccelerators | TranslateAccelerator | ACCEL | Keyboard Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.