BOOL DestroyAcceleratorTable(haccl) | |||||
HACCEL haccl; | /* handle of accelerator table | */ |
The DestroyAcceleratorTable function destroys an accelerator table. Before an application terminates, it must use this function to destroy each accelerator table that it created by using the CreateAcceleratorTable function.
haccl
Identifies the accelerator table to be destroyed. This handle must have been created by a previous call to the CreateAcceleratorTable function.
The return value is TRUE if the function is successful, or FALSE if an error occurs. To obtain extended error information, use the GetLastError function.
CopyAcceleratorTable, CreateAcceleratorTable, LoadAccelerators, TranslateAccelerator