Jungo WinDriver  
Official Documentation

◆ WDC_PciReadCfg8()

DWORD DLLCALLCONV WDC_PciReadCfg8 ( _In_ WDC_DEVICE_HANDLE  hDev,
_In_ DWORD  dwOffset,
_Outptr_ BYTE pbVal 
)

Read/write 8/16/32/64 bits from the PCI configuration space.

Identify device by handle Reads 1 byte (8 bits) from 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 read from.
[out]pbValPointer to a buffer to be filled with the data that is read from the PCI configuration space
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise