Jungo WinDriver  
Official Documentation

◆ WDC_PciGetExpressGen()

DWORD DLLCALLCONV WDC_PciGetExpressGen ( _In_ WDC_DEVICE_HANDLE  hDev)

Retrieves the PCI Express generation of a device.

Parameters
[in]hDevHandle to a WDC PCI device structure, returned by WDC_PciDeviceOpen()
Returns
Returns 0 if device is not a PCI Express device, otherwise returns the PCI Express generation of the device;