Function SysPciGetCardInfo

This function is for retrieving information about a Pci card.

The return value is a pointer to a Structure PCI_INFO structure. The structure is defined in the library too. The structure contains all the Pci configuration registers. If the specified card is not found, the function will return zero.

Input Variable Data type Description
usVendorId WORD The vendor ID of the card.
usDeviceId WORD The device ID of the card.
usCardIndex WORD The card’s index with the specified vendor ID and device ID. The index is zero-based. If there are more than one cards with this vendor and device ID, one can use the index to distinguish the cards.