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.
Set_PM_Exec_Mode
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Set_PM_Exec_Mode
 
The Set_PM_Exec_Mode service forces the current virtual machine into
protected mode. If the current virtual machine is already in protected mode,
this service has no effect.
 
This service has no parameters.
 
Return Value
 
This service has no return value.
 
Comments
 
Whenever possible, a virtual device should use the Begin_Nest_Exec service
instead of this service.
 
Changing the execution mode of a virtual machine does not change the virtual
machine's EAX, EBX, ECX, EDX, ESI, EDI, and EBP registers or most flags. The
VM flag and IOPL flags change. The DS, ES, FS, GS, SS, ESP, CS, and EIP
register are restored to the previous values for V86 mode.
 
Uses
 
Flags
 
See Also
 
Begin_Nest_Exec, Set_V86_Exec_Mode