INtime SDK Help
PciGetInterruptLevel
INtime SDK v6 > About INtime > Other system libraries > PCI Library > PciGetInterruptLevel

Returns the interrupt level associated with the interrupt line connected to a PCI device.

WORD PciGetInterruptLevel( 
    PCIDEV *pPciDevice 
);

Parameters

pPciDevice
A pointer to a PCIDEV structure, initialized by calling PciReadHeader, or PciFindDevice or PciFindClass.

Return Values

Returns a valid interrupt level.
Success.
If the device is invalid or does not supply an interrupt, returns 0xffff.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/pcibus.h pcibus.h pcibus.lib
   
See Also