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_Init
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM        ; new VM handle
mov     eax, VM_Init
VMMcall System_Control
 
The VM_Init message directs the virtual device to initialize the state of
the software in the new virtual machine. For example, the virtual display
device issues Interrupt 10h to set the initial display mode. The system
enables interrupts before sending this message.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine to create.
 
Return Value
 
The carry flag is clear if the virtual device initialized the virtual
machine successfully. Otherwise, the carry flag is set to prevent the system
from creating the virtual machine.
 
Comments
 
The virtual device can use the Simulate_Int and Exec_Int services in the
specified virtual machine.
 
Uses
 
Flags
 
See Also
 
Create_VM, VM_Critical_Init