Here's how to exit from Windows using Delphi and Windows API
//reboot windowsDelphi tips navigator:
ExitWindowsEx(EWX_REBOOT, 0) ;
//shut down windows
ExitWindowsEx(EWX_SHUTDOWN, 0) ;
// log off and prompt for login
ExitWindowsEx(EWX_LOGOFF, 0) ;
» Empty Recycle Bin
« Get Memory Status

