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.
WinLoadProcedure (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINLOAD
 
PFNWP WinLoadProcedure(hab, hlib, pszProcName);
HAB hab;            /* anchor-block handle       */
HLIB hlib;          /* handle of library         */
PSZ pszProcName;    /* pointer to procedure name */
 
The WinLoadProcedure function loads a window procedure from the specified
dynamic-link library.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
hab          Identifies the anchor block.
 
hlib         Specifies the library handle. If this parameter is NULL, the
             WinLoadLibrary function will be called, using the value of the
             pszProcName parameter as the library name.
 
pszProcName  Points to the null-terminated string that specifies the name of
             the procedure to be loaded.
 
Return Value
 
The return value is a pointer to the window procedure, or it is NULL if an
error occurs.
 
See Also
 
WinDeleteProcedure, WinLoadLibrary