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.

85 lines
4.8 KiB

  1. #include <windows.h>
  2. #include "lodctr.h"
  3. #include "unlodctr.h"
  4. STRINGTABLE
  5. BEGIN
  6. LC_CMD_HELP_1 "\nLODCTR"
  7. LC_CMD_HELP_2 " Updates Performance Monitor counter names and explain text for an extensible counter"
  8. LC_CMD_HELP_3 "\nUsage:"
  9. LC_CMD_HELP_4 " LODCTR [\\\\computername] filename"
  10. LC_CMD_HELP_5 " computername is the name of the remote computer."
  11. LC_CMD_HELP_6 " Local machine is used if computername is not specified."
  12. LC_CMD_HELP_7 " filename is the name of the initialization file that contains"
  13. LC_CMD_HELP_8 " the counter name definitions and explain text for an extensible"
  14. LC_CMD_HELP_9 " counter DLL."
  15. LC_CMD_HELP_10 "\n LODCTR /S:<FileName>"
  16. LC_CMD_HELP_11 " save current perf registry strings and info to <FileName>"
  17. LC_CMD_HELP_12 "\n LODCTR /R:<FileName>"
  18. LC_CMD_HELP_13 " restore perf registry strings and info using <FileName>"
  19. LC_CMD_HELP_14 "\nNote: any arguments with spaces in the names must be enclosed within"
  20. LC_CMD_HELP_15 "Double Quotation marks.\n"
  21. LC_DEVNAME_ERR_1 "\nError in file: %ws."
  22. LC_DEVNAME_ERR_2 "\ndrivername parameter was not found in the [info] section of the file"
  23. LC_NO_INIFILE "\nUnable to find initialization file %ws"
  24. LC_LANGLIST_ERR "\nUnable to enumerate languages supported in %ws"
  25. LC_ERR_OPEN_INCLUDE "\nUnable to open symbol file %ws"
  26. LC_ERR_OPEN_DRIVERPERF1 "\nUnable to open Driver key: %ws"
  27. LC_ERR_OPEN_DRIVERPERF2 "\nStatus value: %d"
  28. LC_ERR_OPEN_PERFLIB "\nUnable to open Perflib key, status: %d"
  29. LC_ERR_READLASTPERFLIB "\nUnable to read Last Counter value from the Perflib key, status: %d"
  30. LC_ERR_ALREADY_IN "\nCounters for %ws are already installed"
  31. LC_ERR_UNABLESETBUSY "\nUnable to set Perflib's Busy flag. Status: %d"
  32. LC_BAD_KEY "\nKey %ws is not formatted correctly"
  33. LC_LANGNOTFOUND "\nLanguage ID: %ws in key %ws is not found under [languages]"
  34. LC_ERRADDTOLANG "\nUnable to add text for %ws to language %ws. status: %d"
  35. LC_UNABLESORTTABLES "\nUnable to sort entrys. Status: %d"
  36. LC_UNABLEOPENLANG "\nUnable to open language key %ws under Perflib"
  37. LC_UNABLESETVALUE "\nUnable to set the %ws value under the %ws key in the registry"
  38. LC_ERR_UPDATELANG "\nError encountered while updateing text in registry. Status: %d"
  39. LC_PERFLIBISBUSY "\nPerflib is currently being updated by another process. Try again later."
  40. LC_CONNECT_PROBLEM "\nUnable to connect to remote machine %ws. Status: %d\n"
  41. END
  42. STRINGTABLE
  43. BEGIN
  44. UC_CMD_HELP_1 "\nUNLODCTR"
  45. UC_CMD_HELP_2 " Removes counter names and explain text for the specified extensible counter."
  46. UC_CMD_HELP_3 "\nUsage:"
  47. UC_CMD_HELP_4 "\n UNLODCTR [\\\\computername] driver"
  48. UC_CMD_HELP_5 "\n computername is the name of the remote computer."
  49. UC_CMD_HELP_6 " Local machine is used if computername is not specified."
  50. UC_CMD_HELP_7 "\n driver is the name of the device driver which is to have its"
  51. UC_CMD_HELP_8 " counter name definitions and explain text removed from the system's"
  52. UC_CMD_HELP_9 " registry.\n"
  53. UC_CMD_HELP_10 "\nNote: any arguments with spaces in the names must be enclosed within"
  54. UC_CMD_HELP_11 "Double Quotation marks.\n"
  55. UC_DRIVERNOTFOUND "\nUnable to open driver %ws. Status: %d"
  56. UC_NOTINSTALLED "\nCounters for %ws have not been installed yet"
  57. UC_REMOVINGDRIVER "\nRemoving counter names and explain text for %ws"
  58. UC_UNABLEOPENKEY "\nUnable to open a handle to the %ws key, status: %d"
  59. UC_UNABLESETVALUE "\nUnable to set %ws value under %ws key, status: %d"
  60. UC_UNABLEREADVALUE "\nUnable to read %ws value under %ws key, status: %d"
  61. UC_DOINGLANG "\nUpdating text for language %ws"
  62. UC_UNABLELOADLANG "\nUnable to load %ws text for language %ws. Status: %d"
  63. UC_CONNECT_PROBLEM "\nUnable to connect to remote machine %ws. Status: %d\n"
  64. UC_BAD_DRIVER_NAME "\nDriver name is too long or incorrectly formatted."
  65. END
  66. #include <ntverp.h>
  67. #define VER_FILETYPE VFT_APP
  68. #define VER_FILESUBTYPE VFT2_UNKNOWN
  69. #define VER_FILEDESCRIPTION_STR "Load & Unload Performance Counters"
  70. #define VER_INTERNALNAME_STR "LODCTR.DLL"
  71. #define VER_ORIGINALFILENAME_STR "LODCTR.DLL"
  72. #include "common.ver"
  73. #include "ldprfmsg.rc"