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 wRTOS.
Syntax
MSI_CAPABILITY RtQueryPciMsiCapability(
[in] ULONG BusNumber
[in] PCI_SLOT_NUMBER SlotNumber
);
Parameters
[in] BusNumber
The bus the device is on in a multiple bus environment, with counting starting at zero.
[in] SlotNumber
The logical slot number. This is a PCI_SLOT_NUMBER type value.
Return Value
See MSI_CAPABILITY.
Comments
Requirements
| Minimum supported version | Header | Library |
|---|---|---|
|
wRTOS 1.0 SDK |
RtssApi.h |
Startup.lib |