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.
Simulate_Iret
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Simulate_Iret
 
The Simulate_Iret service simulates a return from an interrupt. This service
pops the top three word or double-word values from the stack of the current
virtual machine, and places the values in the Client_Flags, Client_CS, and
Client_EIP or Client_IP registers.
 
This service has no parameters.
 
Return Value
 
This service has no return value.
 
Comments
 
This service pops three word values from the stack if the segment
corresponding to the return address is a 16-bit segment. Otherwise, the
service pops three double-word values.
 
Uses
 
Client_CS, Client_EIP, Client_ESP, Client_Flags, Flags
 
See Also
 
Simulate_Int