Hello,
How can I reboot Win NT based OS?
Give me plz an example.
Thanks
Posted on 2003-02-09 12:36:13 by Duker
Posted on 2003-02-09 12:46:49 by bazik
Thanx Bazik,
But can anybody give me a masm example?
Posted on 2003-02-10 07:10:22 by Duker

Thanx Bazik,
But can anybody give me a masm example?


Uhh.... sorry, I forgot how hard it is to write API calls in MASM. :rolleyes:
Posted on 2003-02-10 09:28:42 by bazik
SO the theme is still open!
What nobody tryed to reboot WINXP in masm?
SHare with the source plz!
Posted on 2003-02-11 08:29:32 by Duker
Check ExitWindowsEx from MSDN.

basicly it's just;

invoke ExitWindowEx, EWX_REBOOT, EWX_FORCE

if you are an administrator... if you are normal user then you need to give some privileges to yourself to execute that API.
Posted on 2003-02-13 13:06:43 by SamiP