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.

83 lines
2.6 KiB

  1. // Copyright (c) 1999 Microsoft Corporation
  2. #ifdef NOMINMAX
  3. #undef NOMINMAX
  4. #endif
  5. #include <winver.h>
  6. #include <ntverp.h>
  7. #include "lsrepdef.h"
  8. #define VER_FILETYPE VFT_APP
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Microsoft\256 Terminal Svcs License Query Tool"
  11. #define VER_INTERNALNAME_STR "LSReport"
  12. #define VER_ORIGINALFILENAME_STR "lsreport.exe"
  13. #include <verall.h>
  14. #include "common.ver"
  15. // All commented-out strings are handled by system resources.
  16. STRINGTABLE
  17. BEGIN
  18. IDS_NO_FOPEN
  19. L"Could not open output file %1.\n"
  20. IDS_BAD_LOOP
  21. L"\nError accessing keypacks on %1.\n"
  22. IDS_ENUMERATE_FAILED
  23. L"Could not obtain server list.\n"
  24. IDS_NO_SERVERS
  25. L"No servers found. (Use %1 /? for syntax information.)\n" // call w/argv[0]
  26. IDS_NOT_LS
  27. L"Terminal Server Licensing is not running on this computer.\n"
  28. IDS_TEMPORARY_LICENSE
  29. L"Temporary"
  30. IDS_ACTIVE_LICENSE
  31. L"Active"
  32. IDS_UPGRADED_LICENSE
  33. L"Upgraded"
  34. IDS_REVOKED_LICENSE
  35. L"Revoked"
  36. IDS_PENDING_LICENSE
  37. L"Pending"
  38. IDS_CONCURRENT_LICENSE
  39. L"Concurrent"
  40. IDS_UNKNOWN_LICENSE
  41. L"Unknown"
  42. IDS_HELP_USAGE1
  43. L"\nWrite information about licenses granted by Terminal Server License Servers.\n\n"
  44. IDS_HELP_USAGE2
  45. L"%1 [/F filename] [/D start [end]] [/T] [/?] [serverlist]\n\n"
  46. IDS_HELP_USAGE3
  47. L" /F filename Directs output to be written to a file named filename.\n"
  48. IDS_HELP_USAGE4
  49. L" (filename defaults to lsreport.txt)\n"
  50. IDS_HELP_USAGE5
  51. L" /D start [end] Prints only licenses that were in force between start\n"
  52. IDS_HELP_USAGE6
  53. L" and end. (end defaults to today)\n"
  54. IDS_HELP_USAGE7
  55. L" /T Directs only temporary licenses to be written.\n"
  56. IDS_HELP_USAGE8
  57. L" /? Prints this program summary.\n"
  58. IDS_HELP_USAGE9
  59. L" serverlist A list of license servers to query. If not specified,\n"
  60. IDS_HELP_USAGE10
  61. L" a list will be obtained from a domain controller.\n\n"
  62. IDS_HELP_USAGE11
  63. L"Examples:\n"
  64. IDS_HELP_USAGE12
  65. L" %1\n" // argv[0]
  66. IDS_HELP_USAGE13
  67. L" %1 /T NTLS-1 NTLS-2\n" // argv[0]
  68. IDS_DEFAULT_FILE
  69. L"lsreport.txt"
  70. IDS_HEADER_TEXT
  71. L"Server\tLicense ID\tKeypack ID\tClient\tUser\tStart\tEnd\tIssue Type\tLicense Type\n"
  72. IDS_NO_EXPIRE
  73. L"No Expiration"
  74. END