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.

58 lines
2.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: makectl.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 MakeCTL"
  17. #define VER_INTERNALNAME_STR "MAKECTL.EXE"
  18. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
  19. STRINGTABLE DISCARDABLE
  20. BEGIN
  21. IDS_SYNTAX "Usage: MakeCTL [-u][-s -r <currentUser|localMachine>] [CertStore1] [...] \n"
  22. IDS_SYNTAX1 " [-s -r <currentUser|localMachine>] [CertStoreN] [output.ctl]\n"
  23. IDS_OPTIONS "Options: \n"
  24. IDS_OPTION_U "u"
  25. IDS_OPTION_U_DESC " -u <oid> CTL subject usage identifier.\n"
  26. IDS_OPTION_U_DESC1 " Default to szOID_TRUSTED_CODESIGNING_CA_LIST, that is, \n"
  27. IDS_OPTION_U_DESC2 " the CTL consists of root CAs for code signing\n"
  28. IDS_OPTION_S "s"
  29. IDS_OPTION_S_DESC " -s Indicate the store is a system store\n"
  30. IDS_OPTION_R "r"
  31. IDS_OPTION_R_DESC " -r <location> System store location\n"
  32. IDS_OPTION_MORE_VALUE " <%s|%s> . Default to '%s' \n"
  33. IDS_R_CU "currentUser"
  34. IDS_R_LM "localMachine"
  35. IDS_FAILED "Failed. Result = %08x, (%d)\n"
  36. IDS_SUCCEEDED "Succeeded\n"
  37. IDS_CAN_NOT_READ_FILE "Error: Unable to open or read from file %s\n"
  38. IDS_CAN_NOT_PROPERTY "Error: Unable to compute hash of the certificate\n"
  39. IDS_OUT_OF_MEMORY "Error: The system is running out of memory %s \n"
  40. IDS_SWITCH1 "/"
  41. IDS_SWITCH2 "-"
  42. IDS_TOO_FEW_PARAM "Error: Too few parameters\n"
  43. IDS_TOO_MANY_PARAM "Error: Too many parameters\n"
  44. IDS_ERR_OPEN_STORE "Error: Failed to open an input cert store\n"
  45. IDS_ERR_HASH "Error: Failed to create hash of a certificate\n"
  46. IDS_ERR_MEMORY "Error: Out of memory\n"
  47. IDS_INVALID_R "Error: Invalid argument for -r option\n"
  48. IDS_ERR_ENCODE_CTL "Error: Failed to encode CTL\n"
  49. IDS_ERR_SAVE_CTL "Error: Failed to save the encoded CTL to the output file\n"
  50. END
  51. #include <common.ver>