Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Windows API to detect USB overcurrent?

Tags:

c++

c

windows

usb

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?

like image 980
deft_code Avatar asked Oct 05 '11 18:10

deft_code


1 Answers

As far as I can see here http://msdn.microsoft.com/en-us/library/ff539687 you need to turn to the WDK (Window Driver Kit).

like image 72
alk Avatar answered Nov 07 '22 16:11

alk