Click to See Complete Forum and Search --> : How can I shut down the machine from an app?


Blueman
May 2nd, 1999, 06:42 AM
I want an app to be able to shut off the machine. Any ideas?

May 3rd, 1999, 02:01 AM
Hi!!
This can be a solution for your question.
command :
ExitWindowsEx( EX_SHUTDOWN );

this command is a API command;
You can find the detailed help file in MSDN library.
This command can shutdown , or reset your computer ..