|
-
May 27th, 1999, 11:40 AM
#1
rebooting windows
does anybody know how to reboot windows (95/98)?
(for example when the ok-button is pressed...)
thanks in advance
-
May 27th, 1999, 01:46 PM
#2
Re: rebooting windows
I think it is: ExitWindowsEx( EXW_SHUTDOWN,0);
That prompts the user to shut down, but if you want to close all programs and not prompt the user, use: ExitWindowsEx( EXW_SHUTDOWN | EXW_FORCE,0);
-
May 30th, 1999, 03:42 PM
#3
Re: rebooting windows
That actually shuts down the computer, to reboot computer you should use EWX_REBOOT instead of EWX_SHUTDOWN
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
|