I want an app to be able to shut off the machine. Any ideas?
Printable View
I want an app to be able to shut off the machine. Any ideas?
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 ..