◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINACCELERATORS USHORT WinCopyAccelTable(haccel, pacct, cbCopyMax) HACCEL haccel; /* handle of the accelerator table */ PACCELTABLE pacct; /* address of structure receiving information */ USHORT cbCopyMax; /* maximum size of data area */ The WinCopyAccelTable function copies an 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. Parameter Description ──────────────────────────────────────────────────────────────────────────── haccel Identifies the accelerator table. pacct Points to the area of memory where the accelerator-table information will be copied (in the form of an ACCELTABLE structure). If this parameter is NULL, the function will return with the number of bytes needed to copy the table. cbCopyMax Specifies the maximum size of the data area pointed to by the pacct parameter. This parameter is ignored if pacct is NULL. Return Value The return value is the amount of data copied or the length required for the complete accelerator table if the function was successful, or it is zero if an error occurs. See Also ACCELTABLE ♦