win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQueryAccelTable (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINACCELERATORS
 
HACCEL WinQueryAccelTable(hab, hwndFrame)
HAB hab;           /* handle of the anchor block */
HWND hwndFrame;    /* handle of the frame window */
 
The WinQueryAccelTable function queries the window or queue accelerator
table.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies an anchor block.
 
hwndFrame  Identifies the frame window. This parameter can be NULL.
 
Return Value
 
The return value is an accelerator-table handle if the function is
successful, or NULL if an error occurred.
 
Comments
 
If the hwndFrame parameter is NULL, then the handle of the queue accelerator
is returned. Otherwise, the handle of the window accelerator table is
returned by sending the WM_QUERYACCELTABLE message to the frame window
specified by hwndFrame.
 
See Also
 
WinCreateAccelTable, WM_QUERYACCELTABLE