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

// Copyright (c) 1999 Microsoft Corporation
#ifdef NOMINMAX
#undef NOMINMAX
#endif
#include <winver.h>
#include <ntverp.h>
#include "lsrepdef.h"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Microsoft\256 Terminal Svcs License Query Tool"
#define VER_INTERNALNAME_STR "LSReport"
#define VER_ORIGINALFILENAME_STR "lsreport.exe"
#include <verall.h>
#include "common.ver"
// All commented-out strings are handled by system resources.
STRINGTABLE
BEGIN
IDS_NO_FOPEN
L"Could not open output file %1.\n"
IDS_BAD_LOOP
L"\nError accessing keypacks on %1.\n"
IDS_ENUMERATE_FAILED
L"Could not obtain server list.\n"
IDS_NO_SERVERS
L"No servers found. (Use %1 /? for syntax information.)\n" // call w/argv[0]
IDS_NOT_LS
L"Terminal Server Licensing is not running on this computer.\n"
IDS_TEMPORARY_LICENSE
L"Temporary"
IDS_ACTIVE_LICENSE
L"Active"
IDS_UPGRADED_LICENSE
L"Upgraded"
IDS_REVOKED_LICENSE
L"Revoked"
IDS_PENDING_LICENSE
L"Pending"
IDS_CONCURRENT_LICENSE
L"Concurrent"
IDS_UNKNOWN_LICENSE
L"Unknown"
IDS_HELP_USAGE1
L"\nWrite information about licenses granted by Terminal Server License Servers.\n\n"
IDS_HELP_USAGE2
L"%1 [/F filename] [/D start [end]] [/T] [/?] [serverlist]\n\n"
IDS_HELP_USAGE3
L" /F filename Directs output to be written to a file named filename.\n"
IDS_HELP_USAGE4
L" (filename defaults to lsreport.txt)\n"
IDS_HELP_USAGE5
L" /D start [end] Prints only licenses that were in force between start\n"
IDS_HELP_USAGE6
L" and end. (end defaults to today)\n"
IDS_HELP_USAGE7
L" /T Directs only temporary licenses to be written.\n"
IDS_HELP_USAGE8
L" /? Prints this program summary.\n"
IDS_HELP_USAGE9
L" serverlist A list of license servers to query. If not specified,\n"
IDS_HELP_USAGE10
L" a list will be obtained from a domain controller.\n\n"
IDS_HELP_USAGE11
L"Examples:\n"
IDS_HELP_USAGE12
L" %1\n" // argv[0]
IDS_HELP_USAGE13
L" %1 /T NTLS-1 NTLS-2\n" // argv[0]
IDS_DEFAULT_FILE
L"lsreport.txt"
IDS_HEADER_TEXT
L"Server\tLicense ID\tKeypack ID\tClient\tUser\tStart\tEnd\tIssue Type\tLicense Type\n"
IDS_NO_EXPIRE
L"No Expiration"
END