Hi All,
I found the "devcon" sample of DDK sample which can restart any device of
the machine, for example TYPE the following console command devcon restart
USB*
will restart all USB devices and USB host controllers in the machine, mean
while you could see the "refresh" in the device management window. I port the
code segment I need to my original MFC project and compiled correctly.
however it did not work even the relative API(ex: SetupDiCallClassInstaller)
return SUCCESS. It means NO refresh in device management window. My machine
winXP SP1. Is it caused by different compilers? (For DDK build and VC cl)
Could somebody help me?
Thanks a lot!
Chandler