CWErrName Change error file name, with optional drive/pathspec

Inputs: AX = 0ff32h

CX:[E]DX = selector:offset of ASCIIZ error file name

Outputs: None

Errors: None

Notes: If the error file name is invalid when a fault occurs, CauseWay defaults to using the standard CW.ERR file name in the current directory. The file name including any path and drive must not exceed 80 characters or it will be truncated. CX:EDX are not checked for validity and passing invalid values may cause a fault within the DOS extender. The ASCIIZ name pointed to by CX:EDX is copied to an internal DOS extender location and may be safely modified after calling the CWErrName function.

Next Page

Previous Page

Go to Table of Contents