简体   繁体   中英

Is there a Windows API to detect USB overcurrent?

I'm trying to write an application that will take specific action when it detects an overcurrent condition on any USB port.

However, my googlefu is not able to come up with anything useful (though I can now tell you 101 ways to fix a USB overcurrent problem).

Is there are standard windows API to retrieve USB status info?
If not is there another/better way to detect USB overcurrent conditions programatically?

据我所知http://msdn.microsoft.com/en-us/library/ff539687你需要转向WDK(Window Driver Kit)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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