just use the function: ExitWindowsEx( _ , _ ) .
See MSDN for more help.