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.
VPICD_Get_Status
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vpicd.inc
 
mov     eax, IRQHand        ; IRQ handle
mov     ebx, VM             ; VM handle
VxDcall VPICD_Get_Status
 
mov     [Status], ecx       ; IRQ status
 
The VPICD_Get_Status service returns the status for a virtual IRQ in a
specified virtual machine. Although this service does not return the
complete status, it returns the most commonly used information and is much
faster than the VPICD_Get_Complete_Status service.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
IRQHand    Specifies the handle identifying the IRQ for which to receive
           status.
 
VM         Specifies the handle identifying the virtual machine.
 
Return Value
 
The ECX register contains a combination of the following status flag
values:
 
Value                    Meaning
────────────────────────────────────────────────────────────────────────────
VPICD_Stat_IRET_Pending  A virtual iret is pending.
 
VPICD_Stat_In_Service    The IRQ is virtually in service.
 
Uses
 
ECX, Flags
 
See Also
 
VPICD_Get_Complete_Status