include vmm.inc mov eax, Sys_Critical_Exit VMMcall System_Control
Notifies the virtual device that the system is exiting either normally or as a result of a crash. Virtual devices should reset their associated hardware to allow for a return to the state before Windows was started. The virtual device may modify all general registers and flags.
This message is sent with interrupts disabled and the virtual device must not enable interrupts while this message is being processed.
The handler for this message must not be in pageable memory, and must not call the Simulate_Int or Exec_Int service.
See also Sys_Critical_Exit2, Sys_Critical_Init, Sys_VM_Terminate