I need to be able to switch on/off the operation of the USB ports on a WinCE6 system within my application based on user input.
I've seen ways in normal Windows to do this that use "Setupapi.h", however, this isn't part of WinCE6 so isn't usable.
http://social.msdn.microsoft.com/Forums/en-NZ/windowssdk/thread/3f812f32-3f97-4b35-b878-be5f5327a4e8
I'm aware of the option about modifying the USB host driver, but I was hoping for a simpler solution. eg Using some kind of API call from within my application?