Leaked source code of windows server 2003
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.

61 lines
2.2 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*************************************************************************
  3. *
  4. * TSSHUTDN.H
  5. * This module contains typedefs and defines for the TSSHUTDN utility.
  6. *
  7. *
  8. *************************************************************************/
  9. /*
  10. * Token string definitions.
  11. */
  12. #define TOKEN_TIME L" "
  13. #define TOKEN_HELP L"/?"
  14. #define TOKEN_VERBOSE L"/v"
  15. #define TOKEN_REBOOT L"/reboot"
  16. #define TOKEN_POWERDOWN L"/powerdown"
  17. #define TOKEN_FAST L"/now"
  18. #if 0
  19. #define TOKEN_DUMP L"/dump"
  20. #endif
  21. #define TOKEN_SERVER L"/server"
  22. #define TOKEN_DELAY L"/delay"
  23. /*
  24. * General application definitions.
  25. */
  26. #define SUCCESS 0
  27. #define FAILURE 1
  28. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  29. /*
  30. * Resource string IDs
  31. */
  32. #define IDS_ERROR_MALLOC 100
  33. #define IDS_ERROR_INVALID_PARAMETERS 101
  34. #define IDS_ERROR_INVALID_TIME 102
  35. #define IDS_ERROR_SHUTDOWN_FAILED 103
  36. #define IDS_SHUTTING_DOWN 104
  37. #define IDS_SHUTDOWN_DONE 105
  38. #define IDS_SHUTDOWN_REBOOT 106
  39. #define IDS_SHUTDOWN_POWERDOWN 107
  40. #define IDS_SHUTDOWN_WRITEPROT 108
  41. #define IDS_ERROR_SERVER 109
  42. #define IDS_LOGOFF_USERS 110
  43. #define IDS_ERROR_INVALID_DELAY 111
  44. #define IDS_ERROR_NO_RIGHTS 112
  45. #define IDS_NOTIFYING_USERS 113
  46. #define IDS_SENDING_WINSTATION 114
  47. #define IDS_ERROR_SENDING_WINSTATION 115
  48. #define IDS_SHUTDOWN_TITLE 116
  49. #define IDS_SHUTDOWN_MESSAGE 117
  50. #define IDS_USAGE 118
  51. #define IDS_ERROR_NOT_TS 119