I'm trying to determine a consistent way to determine the device number of my PCI bus devices.
SPDRP_LOCATION_INFORMATION returned from SetupDiGetDeviceRegistryProperty gives me
PCI bus 3, device 0, function 0
PCI bus 3, device 1, function 0
for my two devices.
The problem is that in different versions of Windows(Win7 vs Win10) these 'device' values seem to get swapped. These are identical devices but are connected externally in different ways. I need to be able to consistently know which board I'm accessing. Is there a consistent way to know which PCI slot is which?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Writing WDF Drivers||25 Feb 2019||OSR Seminar Space|
|Developing Minifilters||8 April 2019||OSR Seminar Space|