Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Set Extended Error Information Interrupt
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Functions 59h and 5D0Ah enable a process such as a TSR to freely
     use DOS services that may overwrite existing error information
     belonging to another process. The TSR stores existing error data,
     makes calls to DOS, then restores the original error data before
     terminating. This ensures the interrupted process retrieves its
     own error information if it subsequently calls Function 59h.
 
     The following defines the extended error structure:
 
       EXTEND_ERR   STRUCT
         rAx        WORD    ?               ; AX
         rBx        WORD    ?               ; BX
         rCx        WORD    ?               ; CX
         rDx        WORD    ?               ; DX
         rSi        WORD    ?               ; SI
         rDi        WORD    ?               ; DI
         rDs        WORD    ?               ; DS
         rEs        WORD    ?               ; ES
         Pad        WORD    3 DUP(0)
       EXTEND_ERR   ENDS
                                    -♦-