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.

71 lines
2.3 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 "tscon.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Session Connection Utility"
  11. #define VER_INTERNALNAME_STR "tscon"
  12. #define VER_ORIGINALFILENAME_STR "tscon.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"Sessionname %s not found\n"
  23. IDS_ERROR_INVALID_LOGONID
  24. L"Invalid sessionID %s\n"
  25. IDS_ERROR_LOGONID_NOT_FOUND
  26. L"SessionID %lu not found\n"
  27. IDS_ERROR_WINSTATION_CONNECT
  28. L"Could not connect sessionID %lu to sessionname %s, Error code %lu\n"
  29. IDS_ERROR_WINSTATION_CONNECT_CURRENT
  30. L"Could not connect sessionID %lu to this session, Error code %lu\n"
  31. IDS_ERROR_CANT_GET_CURRENT_WINSTATION
  32. L"Could not get the current sessionname, Error code %lu\n"
  33. IDS_ERROR_SERVER
  34. L"Error opening Terminal server %s\n"
  35. END
  36. STRINGTABLE
  37. BEGIN
  38. IDS_WINSTATION_CONNECT
  39. L"Connecting sessionID %lu to sessionname %s\n"
  40. END
  41. STRINGTABLE
  42. BEGIN
  43. IDS_USAGE_1
  44. L"Attaches a user session to a terminal session.\n\n"
  45. /* IDS_USAGE_2
  46. L"TSCON [sessionid | sessionname] [/SERVER:servername] [/DEST:sessionname]\n" */
  47. IDS_USAGE_2
  48. L"TSCON {sessionid | sessionname} [/DEST:sessionname]\n"
  49. IDS_USAGE_3
  50. L" [/PASSWORD:pw] [/V]\n\n"
  51. IDS_USAGE_4
  52. L" sessionid The ID of the session.\n"
  53. IDS_USAGE_5
  54. L" sessionname The name of the session.\n"
  55. /* IDS_USAGE_6
  56. L" /SERVER:servername The name of the Terminal server to connect to (default is current).\n" */
  57. IDS_USAGE_7
  58. L" /DEST:sessionname Connect the session to destination sessionname.\n"
  59. IDS_USAGE_8
  60. L" /PASSWORD:pw Password of user owning identified session.\n"
  61. IDS_USAGE_9
  62. L" /V Displays information about the actions performed.\n\n"
  63. IDS_ERROR_NOT_TS
  64. L"This utility needs Terminal Services to be running.\n"
  65. END