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.
Begin_Reentrant_Execution
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Begin_Reentrant_Execution
 
mov     [Count], ecx        ; reentrancy count
 
The Begin_Reentrant_Execution service starts reentrant execution. Virtual
devices use this service when hooking VMM faults (reentrant processor
exceptions) so that they may call nonasynchronous VMM or virtual device
services or execute a virtual machine.
 
Most virtual devices have no reason to use this service. Do not use this
service to avoid scheduling events on hardware interrupts.
 
This service has no parameters.
 
Return Value
 
The ECX register contains the old reentrancy count. This count must be
passed to the End_Reentrant_Execution service.
 
Uses
 
ECX, Flags
 
See Also
 
End_Reentrant_Execution