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
SysPciGetCardInfoRTS_IEC_RESULTInput
usVendorIdWORD<param name=”usVendorId” type=”IN”>PCI vendor number</param>
usDeviceIdWORD<param name=”usDeviceId” type=”IN”>PCI device Id</param>
usCardIndexWORD<param name=”usCardIndex” type=”IN”>Card index number</param>
pPciInfoPOINTER TO PCI_INFO
<param name=”pPciInfo” type=”OUT”>PCI entry</param>