Jungo WinDriver  
Official Documentation

◆ WDC_PciScanCapsBySlot()

DWORD DLLCALLCONV WDC_PciScanCapsBySlot ( _In_ WD_PCI_SLOT pPciSlot,
_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]pPciSlotPointer to a PCI device location information structure, which can be acquired by calling WDC_PciScanDevices().
[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,