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.
Init_Complete
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, SysVM                  ; system VM handle
mov     esi, OFFSET32 CommandTail   ; points to WIN386 command tail
mov     eax, Init_Complete
VMMcall System_Control
 
The Init_Complete message notifies the virtual device that the system and
virtual devices have initialized successfully. Virtual devices that use V86
memory typically search for available pages, in the range 0A0h through 100h,
when processing this message.
 
Parameter    Description
────────────────────────────────────────────────────────────────────────────
 
SysVM        Specifies a handle identifying the system virtual machine.
 
CommandTail  Points to the command tail retrieved from the program segment
             prefix (PSP) of WIN386.EXE. The first byte in the command tail
             specifies the length in bytes of the tail.
 
Return Value
 
The carry flag is clear if the virtual device successfully completes its
initialization. Otherwise, the carry flag is set to prevent the system from
loading the virtual device.
 
Comments
 
The system sends this message just before it releases its INIT pages and
takes the instance snapshot.
 
Virtual devices can use the Simulate_Int and Exec_Int services to execute
code in the system virtual machine.
 
Uses
 
Flags
 
See Also
 
Device_Init