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.
WinLoadHelpTable (1.2)
Function Group  Message group  Overview         Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINHELP
 
BOOL WinLoadHelpTable(hwndHelpInstance, idHelpTable, hmodModule)
HWND    hwndHelpInstance;    /* handle of help instance         */
USHORT  idHelpTable;         /* resource ID for help table      */
HMODULE hmodModule;          /* resource-module handle          */
 
The WinLoadHelpTable function specifies a help table for the given help
instance.
 
Parameter         Description
────────────────────────────────────────────────────────────────────────────
 
hwndHelpInstance  Identifies the help instance. The instance must have been
                  previously created using the WinCreateHelpInstance
                  function.
 
idHelpTable       Specifies the resource ID of the help table.
 
hmodModule        Identifies the module that contains the help table
                  resource.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
Errors
 
Use the WinGetLastError function to retrieve the error value, which may be
the following:
 
     HMERR_HELP_INST_CALLED_INVALID
 
Comments
 
Applications can use this function to replace a help instance's initial help
table or to set the table if no initial help table is given. The initial
help table is specified in the HELPINIT structure when the help instance is
created with the WinCreateHelpInstance function. The function replaces the
help table without freeing any memory or resources associated with the
initial help table.
 
See Also
 
WinCreateHelpInstance, HELPINIT, HM_LOAD_HELP_TABLE