Jungo WinDriver  
Official Documentation

◆ WDC_PciGetExpressOffset()

DWORD DLLCALLCONV WDC_PciGetExpressOffset ( _In_ WDC_DEVICE_HANDLE  hDev,
_Outptr_ DWORD *  pdwOffset 
)

Retrieves the PCI Express configuration registers' offset in the device's configuration space.


Scan PCI Capabilities

added to any extended configuration space register's fixed address. The fixed addresses were defined in the PCI Express Base Specification.

Parameters
[in]hDevHandle to a WDC PCI device structure, returned by WDC_PciDeviceOpen()
[out]pdwOffsetPointer to the DWORD where the offset value will be written.
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise