Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
System_Exit
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, SysVM      ; system VM handle
mov     eax, System_Exit
VMMcall System_Control
 
The System_Exit message notifies the virtual device that the system is
terminating either normally or as a result of a crash. Interrupts remain
enabled while virtual devices process this message.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
SysVM      Specifies a handle identifying the system virtual machine.
 
Return Value
 
The carry flag must be clear.
 
Comments
 
The virtual device must not call the Simulate_Int or Exec_Int service, but
the virtual device may modify the system virtual machine memory to restore
the system state to allow Windows to exit without complication.
 
The system restores the instance snapshot before sending this message.
 
Uses
 
Flags
 
See Also
 
Sys_Critical_Exit