다음을 통해 공유


DestroyAcceleratorTable

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

CreateAcceleratorTable
LoadAccelerators
TranslateAccelerator
Keyboard Functions