include vmm.inc mov ebx, SysVM ; system VM handle mov eax, System_Exit |
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.
SysVM
Specifies a handle identifying the system virtual machine.
The carry flag must be clear.
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.
Flags