Add the following statement to the beginning of the source file:
HANDLE hAccTable; /* handle to accelerator table */
The hAccTable variable is a handle to the accelerator table. It receives the return value of the LoadAccelerators function and is used in the TranslateAccelerator function to identify the accelerator table.