57 lines
2.2 KiB
Plaintext
57 lines
2.2 KiB
Plaintext
#include "resource.h"
|
|
|
|
#ifdef WIN32
|
|
#include "windows.h"
|
|
#else
|
|
#include "afxres.h"
|
|
#endif
|
|
|
|
#include <ntverp.h>
|
|
#include "tsecerr.rc"
|
|
|
|
#define VER_FILEDESCRIPTION_STR "Microsoft Windows(TM) TAPI Security File Importer"
|
|
|
|
#define VER_INTERNALNAME_STR "tsecimp"
|
|
#define VER_ORIGINALFILENAME_STR "TSECIMP.EXE"
|
|
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
|
|
#include <common.ver>
|
|
|
|
IDR_SCHEMA SCHEMARES "schema.xml"
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
BEGIN
|
|
IDS_PRODUCTNAME VER_FILEDESCRIPTION_STR
|
|
IDS_USAGE "\nThe syntax of this command is:\n\ntsecimp {-?|-h |-H} | { [ {-v|-V} | {-u|-U} ] -f filename} | {-d|-D}\n\n-?|-h|-H\tTo print this help page\n-v|-V\t\tValidate the input XML file only\n-u|-U\t\tValidate user accounts (slower)\n-f filename\tThe XML file to be processed\n-d|-D\t\tDisplay current configuration\n"
|
|
IDS_ERRORPOS "Line %1!d!, Position %2!d!"
|
|
IDS_FINSUCCESS "The command completed successfully"
|
|
IDS_VALIDSUCCESS "The XML file is verified to be valid"
|
|
IDS_INVALADDR "Address %s is invalid"
|
|
IDS_INVALPID "Permanent ID %d is invalid"
|
|
IDS_INVALIDUSER "Domain user <%s> is invalid"
|
|
IDS_LOCALONLYPID "The device with permanent ID %d can not be assigned remotely"
|
|
IDS_LOCALONLYADDR "The device with address %s can not be assigned remotely"
|
|
IDS_HASERROR "One or more problems have been found, please read tsecimp.log for details"
|
|
IDS_PROVIDER "\nProvider %u\n"
|
|
IDS_LINE "\tLine: ""%s""\n"
|
|
IDS_ADDRESSES "\t\tAddresses:\n"
|
|
IDS_NODEVICES "No Devices\n"
|
|
IDS_ERROR "Error:\n======"
|
|
IDS_USERS "\t\tUsers:\n"
|
|
IDS_PID "\t\tPermanent ID: %u\n"
|
|
END
|
|
|
|
// Font in the following dialog needs to have a fixed width
|
|
IDD_MSGBOX DIALOG DISCARDABLE 0, 0, 210, 100
|
|
STYLE WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_DLGFRAME | WS_CLIPCHILDREN | WS_MINIMIZEBOX
|
|
CAPTION VER_FILEDESCRIPTION_STR
|
|
FONT 8, "Courier"
|
|
BEGIN
|
|
EDITTEXT IDC_MSGBOX_TEXT, 7,3,196,74, ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL | ES_READONLY
|
|
DEFPUSHBUTTON "OK", IDOK,80,83,50,14
|
|
END
|
|
|