简体   繁体   English

如何知道在Windows环境中为我的USB设备加载了驱动程序?

[英]How to know the driver was loaded for my USB device in windows enviorment?

I am trying to develop some kind of a program to help me know if a USB device I connect to my Windows 8/7 based machine,is loaded correctly in device manager and it's device drivers been loaded correctly without yellow bands. 我正在尝试开发某种程序来帮助我了解我连接到基于Windows 8/7的计算机的USB设备是否已正确加载到设备管理器中,并且其设备驱动程序已正确加载而没有黄色条带。 I am thinking to do it with c++ and visual studio but I cant find any API's which will help me. 我正在考虑使用c ++和visual studio来做,但是我找不到任何对我有帮助的API。 Does someone have any ideas or examples I can use? 有人有我可以使用的想法或例子吗?

使用EnumDeviceDrivers- 这里有一个示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM