Jungo WinDriver  
Official Documentation

◆ WDC_PciWriteCfg()

DWORD DLLCALLCONV WDC_PciWriteCfg ( _In_ WDC_DEVICE_HANDLE  hDev,
_In_ DWORD  dwOffset,
_In_ PVOID  pData,
_In_ DWORD  dwBytes 
)

Writes data to a specified offset in a PCI device's configuration space or a PCI Express device's extended configuration space.

Parameters
[in]hDevHandle to a WDC PCI device structure, returned by WDC_PciDeviceOpen()
[in]dwOffsetThe offset from the beginning of the PCI configuration space to write to.
[in]pDataPointer to a data buffer that holds the data to write
[in]dwBytesThe number of bytes to write
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise