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.

55 lines
1.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 "wfprof.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Terminal Services Profile Utility"
  11. #define VER_INTERNALNAME_STR "tsprof"
  12. #define VER_ORIGINALFILENAME_STR "tsprof.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. STRINGTABLE
  16. BEGIN
  17. IDS_ERROR_INVALID_PARAMETERS
  18. L"Invalid parameter(s)\n"
  19. IDS_ERROR_GET_DC
  20. L"Failed getting Domain Controller, Error = %u (0x%x)\n"
  21. IDS_ERROR_GET_USER_CONFIG
  22. L"Failed getting User Configuration, Error = %u (0x%x)\n"
  23. IDS_ERROR_SET_USER_CONFIG
  24. L"Failed setting User Configuration, Error = %u (0x%x)\n"
  25. IDS_ERROR_MALLOC
  26. L"Error allocating memory\n"
  27. END
  28. STRINGTABLE
  29. BEGIN
  30. IDS_USAGE1
  31. L"TSPROF /UPDATE [/DOMAIN:domainname|/LOCAL] /PROFILE:<path> username\n"
  32. IDS_USAGE2
  33. L"TSPROF /COPY [/DOMAIN:domainname|/LOCAL] [/PROFILE:<path>] src_usr dest_usr\n"
  34. IDS_USAGE3
  35. L"TSPROF /Q [/DOMAIN:domainname|/LOCAL] username\n"
  36. IDS_QUERY3 L"Terminal Services Profile Path for %1\\%2 is { %3 }"
  37. /*
  38. IDS_QUERY1
  39. L"Terminal Services Profile Path for %s"
  40. IDS_QUERY2
  41. L"\\%s"
  42. IDS_QUERY3
  43. L" is {%s}\n"
  44. */
  45. IDS_ERROR_NOT_TS
  46. L"This utility needs Terminal Services to be running.\n"
  47. END