Previous: Function 0901 - Get and Enable Virtual Interrupt State To the Table of Content Next: Function EEFF - Get DOS Extender Information

- 7.2.17 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functions

Function 0902 - Get Virtual Interrupt State

PMODE/W API

This function Returns the current state of the virtual interrupt flag.
In:
   AX     = 0902h
Out:
   always successful:
     carry flag clear
     AL     = 0 if virtual interrupts are disabled
     AL     = 1 if virtual interrupts are enabled
Notes:
This function should be used in preference to the PUSHF instruction to examine the interrupt flag, because the PUSHF instruction returns the physical interrupt flag rather than the virtualized interrupt flag. On some DPMI hosts, the physical interrupt flag will always be enabled, even when the hardware interrupts are not being passed through to the client.


Previous: Function 0901 - Get and Enable Virtual Interrupt State To the Table of Content Next: Function EEFF - Get DOS Extender Information
Function 0901 - Get and Enable Virtual Interrupt State Table of Content Function EEFF - Get DOS Extender Information

- 7.2.17 -