Home   |   Software   |   Practical Jokes   |   Code Corner   |   Workshops


Delphi Secret #6

Restarting Windows
 
 
     There are two ways that you can restart Windows. You can either restart Windows or do a complete reboot of the system. I'd suggest saving things before you test this out.

Code:
Restarting Windows:
  ExitWindows(EW_RESTARTWINDOWS, 0 );

Rebooting the system:
  ExitWindows(EW_REBOOTSYSTEM, 0 );





This page was developed by FoxWare Design & Support.
Hosted by www.Geocities.ws

1