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.

56 lines
2.2 KiB

  1. #include "resource.h"
  2. #ifdef WIN32
  3. #include "windows.h"
  4. #else
  5. #include "afxres.h"
  6. #endif
  7. #include <ntverp.h>
  8. #include "tsecerr.rc"
  9. #define VER_FILEDESCRIPTION_STR "Microsoft Windows(TM) TAPI Security File Importer"
  10. #define VER_INTERNALNAME_STR "tsecimp"
  11. #define VER_ORIGINALFILENAME_STR "TSECIMP.EXE"
  12. #define VER_FILETYPE VFT_APP
  13. #define VER_FILESUBTYPE VFT2_UNKNOWN
  14. #include <common.ver>
  15. IDR_SCHEMA SCHEMARES "schema.xml"
  16. STRINGTABLE DISCARDABLE
  17. BEGIN
  18. IDS_PRODUCTNAME VER_FILEDESCRIPTION_STR
  19. 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"
  20. IDS_ERRORPOS "Line %1!d!, Position %2!d!"
  21. IDS_FINSUCCESS "The command completed successfully"
  22. IDS_VALIDSUCCESS "The XML file is verified to be valid"
  23. IDS_INVALADDR "Address %s is invalid"
  24. IDS_INVALPID "Permanent ID %d is invalid"
  25. IDS_INVALIDUSER "Domain user <%s> is invalid"
  26. IDS_LOCALONLYPID "The device with permanent ID %d can not be assigned remotely"
  27. IDS_LOCALONLYADDR "The device with address %s can not be assigned remotely"
  28. IDS_HASERROR "One or more problems have been found, please read tsecimp.log for details"
  29. IDS_PROVIDER "\nProvider %u\n"
  30. IDS_LINE "\tLine: ""%s""\n"
  31. IDS_ADDRESSES "\t\tAddresses:\n"
  32. IDS_NODEVICES "No Devices\n"
  33. IDS_ERROR "Error:\n======"
  34. IDS_USERS "\t\tUsers:\n"
  35. IDS_PID "\t\tPermanent ID: %u\n"
  36. END
  37. // Font in the following dialog needs to have a fixed width
  38. IDD_MSGBOX DIALOG DISCARDABLE 0, 0, 210, 100
  39. STYLE WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_DLGFRAME | WS_CLIPCHILDREN | WS_MINIMIZEBOX
  40. CAPTION VER_FILEDESCRIPTION_STR
  41. FONT 8, "Courier"
  42. BEGIN
  43. EDITTEXT IDC_MSGBOX_TEXT, 7,3,196,74, ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL | ES_READONLY
  44. DEFPUSHBUTTON "OK", IDOK,80,83,50,14
  45. END