SysPciSetConfigEntry
(FUN)
FUNCTION SysPciSetConfigEntry : RTS_IEC_RESULT
<description>Set one PCI config entry. This function allows to write an entry to the PCI bus. The entry is a structure of type PCI-INFO and is transmitted to the function SysPciSetConfigEntry via a pointer on it. The structure contains the configuration data of the PCI card being identified by the bus, device and function number. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysPciSetConfigEntry
RTS_IEC_RESULT
Input
usBus
WORD
<param name=”usBus” type=”IN”>PCI bus number (index)</param>
usDevice
WORD
<param name=”usDevice” type=”IN”>PCI device number (index)</param>
usFunction
WORD
<param name=”usFunction” type=”IN”>PCI function number (index)</param>
pPciInfo
POINTER TO PCI_INFO
<param name=”pPciInfo” type=”IN”>Pointer to structure PCI_INFO containing information on the PCI card</param>