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.
DOSMGR_Copy_VM_Drive_State
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include dosmgr.inc
 
VxDcall DOSMGR_Copy_VM_Drive_State
 
The DOSMGR_Copy_VM_Drive_State service copies the drive and current
directory state of all drives from one virtual machine into another virtual
machine.
 
This service can be called during a Create_VM message since it does not
simulate calls or interrupts in either virtual machine; it just copies
instance data from one to the other.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EBX        Specifies the handle of the virtual machine to receive a copy of
           the drive state.
 
ESI        Specifies handle of the virtual machine from which to copy the
           drive state.
 
Return Value
 
This service has no return value.
 
Comments
 
This service does not change the current drive of the destination virtual
machine.
 
This service does not disturb the InitDrvDir value set using the
_DOSMGR_Set_Exec_VM_Data service if it is called before the _DOSMGR_Exec_VM
service. The processing of InitDrvDir occurs during calls to the
_DOSMGR_Exec_VM service.
 
Uses
 
Flags
 
                                      ♦