Virtual Devices (3.1) (vdag31qh.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.
Install_Exception_Handler
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     esi, Exception          ; points to an Exception_Handler_Struc
VMMcall Install_Exception_Handler
 
jc      not_installed           ; carry set if error
 
The Install_Exception_Handler service installs a ring-0 exception handler.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Exception  Points to an Exception_Handler_Struc structure containing
           information about the exception handler to install.
 
Return Value
 
The carry flag is clear if the service is successful. Otherwise, the carry
flag is set to indicate an error
 
Comments
 
The system calls the exception handler only if the exception occurs within
the range of address specified by the EH_StartIP and EH_EndIP fields in the
Exception_Handler_Struc structure. The system calls the exception handler
with the stack and all registers in same state as when exception occurred.
 
Uses
 
Flags
 
See Also
 
Remove_Exception_Handler