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.5 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. IDS_GET_PASSWORD
  41. L"Type the password of user owning sessionID %lu:"
  42. END
  43. STRINGTABLE
  44. BEGIN
  45. IDS_USAGE_1
  46. L"Attaches a user session to a terminal session.\n\n"
  47. /* IDS_USAGE_2
  48. L"TSCON [sessionid | sessionname] [/SERVER:servername] [/DEST:sessionname]\n" */
  49. IDS_USAGE_2
  50. L"TSCON {sessionid | sessionname} [/DEST:sessionname]\n"
  51. IDS_USAGE_3
  52. L" [/PASSWORD:pw | /PASSWORD:*] [/V]\n\n"
  53. IDS_USAGE_4
  54. L" sessionid The ID of the session.\n"
  55. IDS_USAGE_5
  56. L" sessionname The name of the session.\n"
  57. /* IDS_USAGE_6
  58. L" /SERVER:servername The name of the Terminal server to connect to (default is current).\n" */
  59. IDS_USAGE_7
  60. L" /DEST:sessionname Connect the session to destination sessionname.\n"
  61. IDS_USAGE_8
  62. L" /PASSWORD:pw Password of user owning identified session.\n"
  63. IDS_USAGE_9
  64. L" /V Displays information about the actions performed.\n\n"
  65. IDS_ERROR_NOT_TS
  66. L"This utility needs Terminal Services to be running.\n"
  67. END