RtQueryPciMsiCapability

RtQueryPciMsiCapability allows a user to query a PCI device and determine if the device has MSI or MSI-X capability. RtQueryPciMsiCapability is only supported in the RTSS environment. It cannot be called from a Windows application linked to RTX64.

Syntax

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 

Comments

Requirements

Minimum Supported Version RTX64 2013
Header RtssApi.h
Library Rtx_Rtss.lib

Example

See the IntelPro1000 topic for information on an example that uses the RtQueryPciMsiCapability function.