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.

69 lines
2.6 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*************************************************************************
  3. *
  4. * RWINSTA.H
  5. * This module contains typedefs and defines for the RESET
  6. * WinStation utility.
  7. *
  8. *
  9. *************************************************************************/
  10. /*
  11. * Usage string definitions.
  12. */
  13. #define USAGE \
  14. L"Reset the session subsystem hardware and software to known initial values.\n\n" \
  15. L"RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]\n\n" \
  16. L" sessionname Identifies the session with name sessionname.\n" \
  17. L" sessionid Identifies the session with ID sessionid.\n" \
  18. L" /SERVER:servername The server containing the session (default is current).\n" \
  19. L" /V Display additional information.\n\n"
  20. /*
  21. * Token string definitions.
  22. */
  23. #define TOKEN_WS L""
  24. #define TOKEN_HELP L"/?"
  25. #define TOKEN_VERBOSE L"/v"
  26. #define TOKEN_SERVER L"/server"
  27. /*
  28. * General application definitions.
  29. */
  30. #define SUCCESS 0
  31. #define FAILURE 1
  32. #define MAX_IDS_LEN 256 // maximum length that the input parm can be
  33. /*
  34. * Resource string IDs
  35. */
  36. #define IDS_ERROR_MALLOC 100
  37. #define IDS_ERROR_INVALID_PARAMETERS 101
  38. #define IDS_ERROR_WINSTATION_NOT_FOUND 102
  39. #define IDS_ERROR_INVALID_LOGONID 103
  40. #define IDS_ERROR_LOGONID_NOT_FOUND 104
  41. #define IDS_ERROR_WINSTATION_RESET_FAILED 105
  42. #define IDS_ERROR_LOGONID_RESET_FAILED 106
  43. #define IDS_ERROR_SERVER 107
  44. #define IDS_RESET_WINSTATION 200
  45. #define IDS_RESET_LOGONID 201
  46. #define IDS_RESET_WINSTATION_DONE 202
  47. #define IDS_RESET_LOGONID_DONE 203
  48. #define IDS_WARNING_LOGOFF 204
  49. #define IDS_WARNING_LOGOFF_QUESTIONABLE 205
  50. #define IDS_ERROR_NOT_TS 206
  51. #define IDS_USAGE_1 301
  52. #define IDS_USAGE_2 302
  53. #define IDS_USAGE_3 303
  54. #define IDS_USAGE_4 304
  55. #define IDS_USAGE_5 305
  56. #define IDS_USAGE_6 306
  57. #define IDS_USAGE_7 307
  58. #define IDS_USAGE_8 308
  59. #define IDS_USAGE_9 309