The CopyAcceleratorTable function copies the specified accelerator table. This function is used to obtain the accelerator-table data that corresponds to an accelerator-table handle, or to determine the size of the accelerator-table data.
int CopyAcceleratorTable(
HACCEL hAccelSrc, |
// handle to accelerator table to copy |
LPACCEL lpAccelDst, |
// pointer to structure receiving copy |
int cAccelEntries |
// number of entries in table being copied |
); |
If lpAccelDst is NULL, the return value specifies the number of accelerator-table entries in the original table. Otherwise, it specifies the number of accelerator-table entries that were copied.
ACCEL, CreateAcceleratorTable, DestroyAcceleratorTable, LoadAccelerators, TranslateAccelerator
See: