## Virtual Device Driver Reference for OS/2

[prev][next][parent][TOC]

### VDHQueryVIRQ - Parameters

VDMHandle (HVDM) IRQ handle from VDHOpenVIRQ DOS session handle. A value of 0 (zero) indicates the current DOS session.

IRQHandle (HIRQ) IRQ handle from VDHOpenVIRQ.

rc (ULONG) - returns

Success If the function is successful, it returns the IRQ status as a DD of flag bits:

VPICQ_REQUEST_PENDING Request is pending for the queried IRQ
VPICQ_IN_SERVICE Queried IRQ is in service
VPICQ_VIRT_MASK Mask is turned ON for the queried IRQ
VPICQ_STAT_IRET_PENDING IRET is pending for the queried IRQ.

Failure If VDMHandle or IRQHandle is invalid, a system halt occurs.