just wondering if anyone can help me with some code to reboot my windows NT box? Thanks.

- freedumb
Posted on 2001-12-26 19:09:41 by freedumb
ExitWindowsEx and InitiateSystemShutdown are maybe what you want.
Posted on 2001-12-26 19:19:59 by CodeLover
Windows Nt Shutdown

This code shuts down the machine but with the change in the flag passed to exitwindowsex it will also reboot the machine
Posted on 2001-12-26 20:02:08 by Betrayed
freedumb,

Try not to become a source-beggar ;)
Posted on 2001-12-26 21:35:45 by CodeLover