Compartir a través de


DestroyAcceleratorTable (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL DestroyAcceleratorTable(
  HACCEL hAccel
);

Parameters

  • hAccel
    Handle to the accelerator table to destroy. This handle must have been created by a call to the CreateAcceleratorTable function.

Return Value

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Requirements

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

See Also

Reference

Keyboard Functions
CreateAcceleratorTable
LoadAccelerators
TranslateAccelerator