This example destroys an accelerator-table based on the handle returned from either WinCreateAccelTable or WinLoadAccelTable.

#define INCL_WINACCELERATORS    /* Window Accelerator Functions */
#include <os2.h>

HACCEL  hAccel;         /* Accelerator-table handle             */
BOOL  fSuccess;         /* success indicator                    */

fSuccess = WinDestroyAccelTable(hAccel);


[Back] [Next]