DosQueryProcType returns the type of the specified procedure within a dynamic link module.
The type returned indicates whether the specified procedure is a 16-bit or 32-bit callable procedure.
If return code ERROR_INVALID_HANDLE is received, issue DosLoadModule and then issue DosQueryProcType again.