_GetMappedErr


_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 errorcodes 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.

Function

Supplies the int 21h function number that would have been passed in in AH on an int 21h call.

ExtErr

Supplies the extended error code.