|
-
May 2nd, 1999, 06:42 AM
#1
How can I shut down the machine from an app?
I want an app to be able to shut off the machine. Any ideas?
-
May 3rd, 1999, 02:01 AM
#2
Re: How can I shut down the machine from an app?
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 ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|