SysPciGetCardInfo
(FUN)
FUNCTION SysPciGetCardInfo : RTS_IEC_RESULT
<description>Get PCI info of a specified card. This function retrieves information on a PCI card that is identified by its vendor ID, its device ID and its card index. Therefore, SysPciGetCardInfo returns a pointer to a variable of type PCI_INFO containing the information on the PCI card. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysPciGetCardInfo
RTS_IEC_RESULT
Input
usVendorId
WORD
<param name=”usVendorId” type=”IN”>PCI vendor number</param>
usDeviceId
WORD
<param name=”usDeviceId” type=”IN”>PCI device Id</param>
usCardIndex
WORD
<param name=”usCardIndex” type=”IN”>Card index number</param>
pPciInfo
POINTER TO PCI_INFO
<param name=”pPciInfo” type=”OUT”>PCI entry</param>