The DestroyAcceleratorTable 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.
BOOL DestroyAcceleratorTable(
HACCEL hAccel |
// handle to accelerator table |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
CopyAcceleratorTable, CreateAcceleratorTable, LoadAccelerators, TranslateAccelerator
See: