DestroyAcceleratorTable function
Destroys an accelerator table.
Syntax
BOOL WINAPI DestroyAcceleratorTable( _In_ HACCEL hAccel );
Parameters
- hAccel [in]
-
Type: HACCEL
A handle to the accelerator table to be destroyed. This handle must have been created by a call to the CreateAcceleratorTable or LoadAccelerators function.
Return value
Type: BOOL
If the function succeeds, the return value is nonzero. However, if the table has been loaded more than one call to LoadAccelerators, the function will return a nonzero value only when DestroyAcceleratorTable has been called an equal number of times.
If the function fails, the return value is zero.
Examples
For an example, see Creating User Editable Accelerators.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Reference
- CopyAcceleratorTable
- CreateAcceleratorTable
- LoadAccelerators
- TranslateAccelerator
- Conceptual
- Keyboard Accelerators