Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.7 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. #ifdef NOMINMAX
  3. #undef NOMINMAX
  4. #endif
  5. #include <winver.h>
  6. #include <ntverp.h>
  7. #include "tsshutdn.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "System Shutdown Utility"
  11. #define VER_INTERNALNAME_STR "tsshutdn"
  12. #define VER_ORIGINALFILENAME_STR "tsshutdn.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_ERROR_MALLOC
  18. L"Error allocating memory.\n"
  19. IDS_ERROR_INVALID_PARAMETERS
  20. L"Invalid parameter(s).\n"
  21. IDS_ERROR_INVALID_TIME
  22. L"%ws is an invalid shutdown time.\n"
  23. IDS_ERROR_INVALID_DELAY
  24. L"%ws is an invalid logoff delay time.\n"
  25. IDS_ERROR_SHUTDOWN_FAILED
  26. L"System shutdown failed, Error code=%lu.\n"
  27. IDS_LOGOFF_USERS
  28. L" Logging off all users ...\n"
  29. IDS_SHUTTING_DOWN
  30. L"System shutdown in progress ..."
  31. IDS_SHUTDOWN_DONE
  32. L"\nShutdown is complete.\n"
  33. IDS_SHUTDOWN_REBOOT
  34. L"The system will now reboot.\n"
  35. IDS_SHUTDOWN_POWERDOWN
  36. L"The system will now be powered off.\n"
  37. IDS_SHUTDOWN_WRITEPROT
  38. L"You may turn off system power now.\nDisks are now write protected until a power down.\n"
  39. IDS_ERROR_SERVER
  40. L"Error opening Terminal server %s.\n"
  41. IDS_ERROR_NO_RIGHTS
  42. L"You do not have shutdown rights.\n"
  43. IDS_NOTIFYING_USERS
  44. L"Notifying Users, Type ^C to Cancel Shutdown.\n"
  45. IDS_SENDING_WINSTATION
  46. L"Sending message to Session %ws.\n"
  47. IDS_ERROR_SENDING_WINSTATION
  48. L"Error sending message to Session %ws.\n"
  49. IDS_SHUTDOWN_TITLE
  50. L"SYSTEM SHUTDOWN"
  51. IDS_SHUTDOWN_MESSAGE
  52. L"System is shutting down in %d seconds.\n"
  53. IDS_USAGE
  54. L"Shut down a server in a controlled manner.\n\nTSSHUTDN [wait_time] [/SERVER:servername] [/REBOOT] [/POWERDOWN]\n [/DELAY:logoffdelay] [/V]\n\n wait_time Seconds to wait after user notification before\n terminating all user sessions (default is 60).\n /SERVER:servername The server to shut down (default is current).\n /REBOOT Reboot the server after user sessions are terminated.\n /POWERDOWN The server will prepare for powering off.\n /DELAY:logoffdelay Seconds to wait after logging off all connected\n sessions (default is 30).\n /V Display information about actions being performed.\n\n"
  55. IDS_ERROR_NOT_TS
  56. L"This utility needs Terminal Services to be running\n"
  57. END