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.

69 lines
2.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: setreg.rc
  8. //
  9. //--------------------------------------------------------------------------
  10. #include <windows.h>
  11. #include <ntverp.h>
  12. #include "cryptver.h"
  13. #include "resource.h"
  14. #define VER_FILETYPE VFT_APP
  15. #define VER_FILESUBTYPE VFT2_UNKNOWN
  16. #define VER_FILEDESCRIPTION_STR "ECM SetReg"
  17. #define VER_INTERNALNAME_STR "SETREG.EXE"
  18. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
  19. STRINGTABLE DISCARDABLE
  20. BEGIN
  21. IDS_SWITCH1 "-"
  22. IDS_SWITCH2 "/"
  23. IDS_OPTION_Q "q"
  24. IDS_TRUE "TRUE"
  25. IDS_FALSE "FALSE"
  26. IDS_SYNTAX "Usage: SetReg [options] {[<Choice #> <Value>]...}\n"
  27. IDS_OPTIONS "Options: \n"
  28. IDS_OPTION_Q_DESC " -%s No display of key values after request is completed\n"
  29. IDS_ENDLN "\n"
  30. IDS_CHOICES "Choices: \n"
  31. IDS_DESC " %s %d \n"
  32. IDS_DISPLAY_LT_10 " %d) %s %s\n"
  33. IDS_DISPLAY " %d) %s %s\n"
  34. IDS_NAME_TEST_ROOT "Trust the Test Root..........................."
  35. IDS_NAME_EXPIRATION "Use expiration date on certificates..........."
  36. IDS_NAME_REVOCATION "Check the revocation list....................."
  37. IDS_NAME_REVOCATIONONTS "Check the revocation list on Time Stamp Signer"
  38. IDS_NAME_OFFLINE_INDIVIDUAL "Offline revocation server OK (Individual)....."
  39. IDS_NAME_OFFLINE_COMMERCIAL "Offline revocation server OK (Commercial)....."
  40. IDS_NAME_JAVA_INDIVIDUAL "Java offline revocation server OK (Individual)"
  41. IDS_NAME_JAVA_COMMERCIAL "Java offline revocation server OK (Commercial)"
  42. IDS_NAME_VERSION_ONE "Invalidate version 1 signed objects..........."
  43. IDS_NAME_ALLOWONLYPERTRUST "Only trust items found in the Trust DB........"
  44. IDS_FAILED "Failed"
  45. IDS_MANY_ARG "Error: Too many arguments\n"
  46. IDS_INVALID_CHOICE "Error: Invalid choice #\n"
  47. IDS_MISS_ARG "Error: Missing argument\n"
  48. IDS_BAD_VALUE "Error: Bad Value\n";
  49. IDS_NO_VALUE "Error: No previous state value for %s%s\n"
  50. IDS_REG_OPEN_FAILED "Error: RegOpenKeyEx failed for %s%s with error: %d\n"
  51. IDS_REG_QUERY_FAILED "Error: RegQueryValueEx failed for %s%s with error: %d\n"
  52. IDS_REG_CREATE_FAILED "Error: RegCreateKeyEx failed for %s%s with error: %d\n"
  53. IDS_REG_SET_FAILED "Error: RegSetValueEx failed: %d\n"
  54. IDS_WRONG_TYPE "Error: Previous type (Not REG_DWORD) for State value of %s%s: %d\n"
  55. IDS_UPDATED "Updated "
  56. IDS_VALUE "Value: TRUE | FALSE \n"
  57. IDS_STATE "Software Publishing State Key Values (0x%x):\n"
  58. //IDS_KEY_STATE "State"
  59. END
  60. #include <common.ver>