This function loads the window or dialog procedure from a specified dynamic link library.
#define INCL_WINLOAD /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* Anchor-block handle. */ HLIB hlibLibhandle; /* Library handle. */ PSZ pszProcname; /* Procedure name. */ PFNWP Wndproc; /* Window-procedure identifier. */ Wndproc = WinLoadProcedure(hab, hlibLibhandle, pszProcname);