Jungo WinDriver  
Official Documentation

◆ WDC_PciScanDevicesByTopology()

DWORD DLLCALLCONV WDC_PciScanDevicesByTopology ( _In_ DWORD  dwVendorId,
_In_ DWORD  dwDeviceId,
_Outptr_ WDC_PCI_SCAN_RESULT pPciScanResult 
)

Scans the PCI bus for all devices with the specified vendor and device ID combination and returns information regarding the matching devices that were found and their locations.

The function performs the scan by topology i.e for each located bridge the function scans the connected devices and functions reported by the bridge, and only then proceeds to scan the next bridge.

Please note that with a regular WinDriver license, this function will not work on a computer that has over 100 devices connected to it. In order to make it work on a computer with over 100 devices, you must obtain a server license from sales.nosp@m.@jun.nosp@m.go.co.nosp@m.m.

Parameters
[in]dwVendorIdVendor ID to search for, or 0 to search for all vendor IDs
[in]dwDeviceIdDevice ID to search for, or 0 to search for all device IDs
[out]pPciScanResultA pointer to a structure that will be updated by the function with the results of the PCI bus scan
Returns
Returns WD_STATUS_SUCCESS (0) on success, or an appropriate error code otherwise