次の方法で共有


DestroyAcceleratorTable (Compact 2013)

3/28/2014

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

See Also

Reference

Keyboard Functions
CreateAcceleratorTable
LoadAccelerators
TranslateAccelerator