How do I access information in Windows Device Manager in C++?

冷暖自知 提交于 2019-12-11 10:42:42

问题


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.



来源:https://stackoverflow.com/questions/29231470/how-do-i-access-information-in-windows-device-manager-in-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!