How do I access information in Windows Device Mana

2019-07-25 17:49发布

问题:

How do I import Device Manager-like details of devices in my C++ code?

I have tried Setupapi routines, but these do not give me Device Manager-like details of the device property value.

回答1:

Something called Windows Management Instrumentation (WMI) can be used for this.