hmod (HMODULE) - input
ordinal (ULONG) - input
If the ordinal number is nonzero, pszName is ignored. It must be less or equal to 65 533.
pszName (PSZ) - input
Calls to DosQueryProcAddr for entries within the DOSCALLS module are supported for ordinal references only. References to the DOSCALLS module by name strings are not supported, and will return an error. Dynamic link ordinal numbers for DOSCALLS routines are resolved by linking with OS2386.LIB.
ppfn (PFN *) - output
ulrc (APIRET) - returns
DosQueryProcAddr returns one of the following values: