hmod (HMODULE) - input
ordinal (ULONG) - input
If the ordinal number is nonzero, pszName is ignored.
pszName (PSZ) - input
Calls to DosQueryProcType 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.
pulproctype (PULONG) - output
The value returned in this field is one of the following:
ulrc (APIRET) - returns
DosQueryProcType returns one of the following values: