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.
Sys_Critical_Exit
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     eax, Sys_Critical_Exit
VMMcall System_Control
 
The Sys_Critical_Exit message 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 system disables interrupts before sending this message.
 
This message has no parameters.
 
Return Value
 
The carry flag must be clear.
 
Comments
 
The virtual device must not call the Simulate_Int or Exec_Int service.
 
Uses
 
Flags
 
See Also
 
Sys_Critical_Init, Sys_VM_Terminate