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