Enumerating PciBusNumber PciDeviceNumber PciFunctionNumber in C++
I know how to enumerate all network cards using the SetupDiGetClassDevs, SetupDiGetDeviceInstanceId and SetupDiGetDeviceRegistryProperty API calls. However I need to go a step further and get the PciBusNumber PciDeviceNumber PciFunctionNumber for each network adapter installed - any ideas?
Many thanks in advance, if you can please try to include sample code - I'm rather new to C++ ...
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.