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|
|Developing Minifilters||29 July 2019||OSR Seminar Space|
|Writing WDF Drivers||23 Sept 2019||OSR Seminar Space|
|Kernel Debugging||21 Oct 2019||OSR Seminar Space|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|