Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
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
                                    -♦-