Link to home
Start Free TrialLog in
Avatar of alexBrasil

asked on

restarting periferics.

it is possible restart all pereferics and plug-and-play, no restarting Windows, with command in C++;how?
Avatar of nietod

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alexBrasil


I don't want do reboot the computer, but it is possible?
No it is not.  As I said the best you can do is to use ExitWindowEx().
the windows, it don't have one message "starting windows"? if I send this message?
Nope, no message to start windows other than restarting it as nietod suggested. By the way, where would you start windows from? The big black void? ;-)
Most VXD will do required initialization within handler DEVICE_INIT ("the OndeviceInit routine is called when the DEVICE_INIT control message is detected", document: Using VtoolsD, compuware numega pag. 71), but also it have other types, how(Sys_critical_init, Init_complete); It is possible send handles for VXD´s?before boot windows. not restarting.
Comment accepted as answer
it don´t serve, but tkank you.