_GetMappedErr(
unsigned int Function,
unsigned int ExtErr
)
This service maps the extended error code for a given int 21h function on to the allowed set of error codes for that particular function and returns the error that DOS would have returned on the int 21h API. DOS returns a restricted set of errors on the int 21h API and stores the detailed error information in its extended error variables.