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.

73 lines
2.2 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 "shadow.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Session Remote Control Utility"
  11. #define VER_INTERNALNAME_STR "shadow"
  12. #define VER_ORIGINALFILENAME_STR "shadow.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_SHADOW_FAILURE
  28. L"Remote control failed. Error code %lu\n"
  29. IDS_ERROR_SERVER
  30. L"Error opening Terminal server %s\n"
  31. END
  32. STRINGTABLE
  33. BEGIN
  34. IDS_SHADOWING_WINSTATION
  35. L"Controlling session %s remotely\n"
  36. IDS_SHADOWING_LOGONID
  37. L"Controlling session ID %lu remotely\n"
  38. IDS_SHADOWING_WARNING
  39. L"Your session may appear frozen while the remote control approval is being negotiated.\nPlease wait...\n"
  40. IDS_SHADOWING_DONE
  41. L"Remote control done\n"
  42. IDS_ERROR_NOT_TS
  43. L"This utility needs Terminal Services to be running.\n"
  44. END
  45. STRINGTABLE
  46. BEGIN
  47. IDS_USAGE_1
  48. L"Monitor another Terminal Services session.\n"
  49. IDS_USAGE_2
  50. L"\n"
  51. IDS_USAGE_3
  52. L"SHADOW {sessionname | sessionid} [/SERVER:servername] [/V]\n"
  53. IDS_USAGE_4
  54. L"\n"
  55. IDS_USAGE_5
  56. L" sessionname Identifies the session with name sessionname.\n"
  57. IDS_USAGE_6
  58. L" sessionid Identifies the session with ID sessionid.\n"
  59. IDS_USAGE_7
  60. L" /SERVER:servername The server containing the session (default is current).\n"
  61. IDS_USAGE_8
  62. L" /V Display information about actions being performed.\n"
  63. IDS_USAGE_9
  64. L"\n"
  65. END