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.
VM_Suspend
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM         ; VM handle
mov     eax, VM_Suspend
VMMcall System_Control
 
The VM_Suspend message notifies the virtual device that the system is
suspending execution of the virtual machine. The virtual device should
unlock any resources associated with the virtual machine.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine to suspend.
 
Return Value
 
The carry flag must be clear.
 
Comments
 
The virtual machine remains suspended until explicitly resumed. The system
sends the VM_Suspend message each time the virtual machine is suspended. It
sends a VM_Resume message when the virtual machine is resumed.
 
The CB_VM_Status field in the control block for the virtual machine
specifies whether the virtual machine is suspended.
 
Uses
 
Flags
 
See Also
 
VM_Resume