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.
WinLoadLibrary (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINLOAD
 
HLIB WinLoadLibrary(hab, pszModName);
HAB hab;           /* anchor-block handle     */
PSZ pszModName;    /* pointer to library name */
 
The WinLoadLibrary function loads a dynamic-link module and returns a handle
for the module. You can use the module handle to retrieve the entry
addresses of procedures in the module.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
hab         Identifies the anchor block.
 
pszModName  Points to a null-terminated string; the string must be a valid
            MS OS/2 filename that specifies the path and filename of the
            dynamic-link module to be loaded. All dynamic-link modules have
            the .dll filename extension by default.
 
Return Value
 
The return value is the handle of the library module, or it is NULL if an
error occurs.
 
See Also
 
DosLoadModule, WinDeleteLibrary, WinLoadProcedure