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.
Close_VM_Notify
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM             ; current VM handle
mov     edx, Flags          ; flags
mov     eax, Close_VM_Notify
VMMcall System_Control
 
The Close_VM_Notify message notifies a virtual device that the Close_VM
service has been called and the specified virtual machine is terminating.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine to close.
 
Flags      Specifies the operation flags. This parameter can be the
           following value:
 
           Value            Meaning
           ─────────────────────────────────────────────────────────────────
           CVNF_Crit_Close  The virtual machine has not released the
                            critical section.
 
           All other values are reserved.
 
Return Value
 
The carry flag is set if the virtual device supports termination of the
virtual machine. Otherwise, the carry flag is set to indicate an error.
 
Uses
 
Flags
 
See Also
 
Close_VM