EXITWINDOWSEX(...) (2003-10-05 10:15:42)Hi there. I have just added a PcBoot component I wrote to Delphipages. You can Restart/Shut Down/Log Off your pc with one line of code. Just Search...
RESTARTING (2004-02-24 23:43:44)under 9X/me
ExitWindowsEx(EWX_REBOOT,0);
//under2000,XP
function ShutDownWindows(Flag: word): Boolean;
var
TokenPriv: TTokenPrivileges;...
HOW TO FORCE WINDOWSXP TO SHUTDOWN ? (2004-06-03 03:52:14)...shutdown / reboot / logoff Windows 9x/NT/Me/2000/XP
http://www.swissdelphicenter.ch/torry/showcode.php?id=168
Chrizz