Jungo WinDriver  
Official Documentation

◆ WDC_PciScanCaps()

DWORD DLLCALLCONV WDC_PciScanCaps ( _In_ WDC_DEVICE_HANDLE  hDev,
_In_ DWORD  dwCapId,
_Outptr_ WDC_PCI_SCAN_CAPS_RESULT pScanCapsResult 
)

Scans the basic PCI capabilities of the given device for the specified capability (or for all capabilities).

Parameters
[in]hDevHandle to a WDC PCI device structure, returned by WDC_PciDeviceOpen().
[in]dwCapIdID of the basic PCI capability for which to search, or WD_PCI_CAP_ID_ALL to search for all basic PCI capabilities.
[out]pScanCapsResultA pointer to a structure that will be updated by the function with the results of the basic PCI capabilities scan.
Returns
Returns WD_STATUS_SUCCESS (0) on success,