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.
This service has no return value.
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 registers are restored to the previous values for V86 mode.
Flags