The CreateAcceleratorTable function creates an accelerator table.
HACCEL CreateAcceleratorTable(
LPACCEL lpaccl, |
// pointer to structure array with accelerator data |
int cEntries |
// number of structures in the array |
); |
If the function succeeds, the return value is the handle to the created accelerator table; otherwise, it is NULL. To get extended error information, call GetLastError.
Before an application closes, it must use the DestroyAcceleratorTable function to destroy each accelerator table that it created by using the CreateAcceleratorTable function.
ACCEL, CopyAcceleratorTable, DestroyAcceleratorTable, LoadAccelerators, TranslateAccelerator