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.

78 lines
2.4 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 "rwinsta.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Reset Session Utility"
  11. #define VER_INTERNALNAME_STR "rwinsta"
  12. #define VER_ORIGINALFILENAME_STR "rwinsta.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_WINSTATION_NOT_FOUND
  22. L"Session %s not found\n"
  23. IDS_ERROR_INVALID_LOGONID
  24. L"Invalid session ID %s\n"
  25. IDS_ERROR_LOGONID_NOT_FOUND
  26. L"Session ID %lu not found\n"
  27. IDS_ERROR_WINSTATION_RESET_FAILED
  28. L"Could not reset session %s, Error code %lu\n"
  29. IDS_ERROR_LOGONID_RESET_FAILED
  30. L"Could not reset session ID %lu, Error code %lu\n"
  31. IDS_ERROR_SERVER
  32. L"Error opening Terminal server %s\n"
  33. END
  34. STRINGTABLE
  35. BEGIN
  36. IDS_RESET_WINSTATION
  37. L"Resetting session %s\n"
  38. IDS_RESET_LOGONID
  39. L"Resetting session ID %lu\n"
  40. IDS_RESET_WINSTATION_DONE
  41. L"Session %s has been reset\n"
  42. IDS_RESET_LOGONID_DONE
  43. L"Session ID %lu has been reset\n"
  44. IDS_WARNING_LOGOFF
  45. L"If you reset this session, all users using this protocol will be logged off,\ncontinue (n=no)? "
  46. IDS_WARNING_LOGOFF_QUESTIONABLE
  47. L"If the LogonId in question refers to a protocol, then all users using this \nprotocol will be logged off, continue(n=no)? "
  48. IDS_ERROR_NOT_TS
  49. L"This utility needs Terminal Services to be running.\n"
  50. END
  51. STRINGTABLE
  52. BEGIN
  53. IDS_USAGE_1
  54. L"Reset the session subsytem hardware and software to known initial values.\n"
  55. IDS_USAGE_2
  56. L"\n"
  57. IDS_USAGE_3
  58. L"RESET SESSION {sessionname | sessionid} [/SERVER:servername] [/V]\n"
  59. IDS_USAGE_4
  60. L"\n"
  61. IDS_USAGE_5
  62. L" sessionname Identifies the session with name sessionname.\n"
  63. IDS_USAGE_6
  64. L" sessionid Identifies the session with ID sessionid.\n"
  65. IDS_USAGE_7
  66. L" /SERVER:servername The server containing the session (default is current).\n"
  67. IDS_USAGE_8
  68. L" /V Display additional information.\n"
  69. IDS_USAGE_9
  70. L"\n"
  71. END