rocky
May 27th, 1999, 11:40 AM
does anybody know how to reboot windows (95/98)?
(for example when the ok-button is pressed...)
thanks in advance
(for example when the ok-button is pressed...)
thanks in advance
|
Click to See Complete Forum and Search --> : rebooting windows rocky May 27th, 1999, 11:40 AM does anybody know how to reboot windows (95/98)? (for example when the ok-button is pressed...) thanks in advance Nathan Strandberg May 27th, 1999, 01:46 PM 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); Rauli Ikonen May 30th, 1999, 03:42 PM That actually shuts down the computer, to reboot computer you should use EWX_REBOOT instead of EWX_SHUTDOWN codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |