RtQueryPciMsiCapability

RtQueryPciMsiCapability allows a user to query a PCI device and determine if the device has MSI or MSI-X capability.

Syntax

Copy
MSI_CAPABILITY RtQueryPciMsiCapability(
    ULONG BusNumber
    PCI_SLOT_NUMBER SlotNumber
);

Parameters

BusNumber

The bus the device is on in a multiple bus environment, with counting starting at zero.

SlotNumber

The logical slot number. This is a PCI_SLOT_NUMBER type value.

Return Value

See MSI_CAPABILITY.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

RtssApi.h rtkrnl.lib