Returns the address of the specified procedure within a dynamic link module.
#define INCL_DOSMODULEMGR #include <os2.h> HMODULE hmod; /* The handle of the dynamic link module that contains the procedure. */ ULONG ordinal; /* The ordinal number of the procedure whose address is desired. */ PSZ pszName; /* The address of an ASCIIZ name string that contains the procedure name that is being referenced. */ PFN *ppfn; /* A pointer to a PFN in which the procedure address is returned. */ APIRET ulrc; /* Return Code. */ ulrc = DosQueryProcAddr(hmod, ordinal, pszName, ppfn);