CreateAcceleratorTable
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 |
); |
|
Parameters
lpaccl
Points to an
array of ACCEL
cEntries
Specifies the
number of ACCEL structures in the array.
Return Values
If the
function succeeds, the return value is the handle to the created accelerator
table; otherwise, it is NULL.
Remarks
Before an
application closes, it must use the DestroyAcceleratorTable function to
destroy each accelerator table that it created by using the CreateAcceleratorTable
function.
See Also