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.

123 lines
5.0 KiB

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. strings.c
  5. Abstract:
  6. String constants used by the functions in the PDH.DLL library
  7. --*/
  8. #include <windows.h>
  9. #include "strings.h"
  10. LPCWSTR cszAppShortName = (LPCWSTR)L"PDH";
  11. // registry path, key and value strings
  12. LPCWSTR cszNamesKey =
  13. (LPCWSTR)L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Perflib";
  14. LPCWSTR cszDefaultLangId = (LPCWSTR)L"009";
  15. LPCWSTR cszCounters = (LPCWSTR)L"Counters";
  16. LPCWSTR cszHelp = (LPCWSTR)L"Help";
  17. LPCWSTR cszLastHelp = (LPCWSTR)L"Last Help";
  18. LPCWSTR cszLastCounter = (LPCWSTR)L"Last Counter";
  19. LPCWSTR cszVersionName = (LPCWSTR)L"Version";
  20. LPCWSTR cszCounterName = (LPCWSTR)L"Counter ";
  21. LPCWSTR cszHelpName = (LPCWSTR)L"Explain ";
  22. LPCWSTR cszGlobal = (LPCWSTR)L"Global";
  23. LPCWSTR cszCostly = (LPCWSTR)L"Costly";
  24. LPCWSTR cszLogQueries = (LPCWSTR)L"SYSTEM\\CurrentControlSet\\Services\\PerfDataLog\\Log Queries";
  25. LPCWSTR cszLogFileType = (LPCWSTR)L"Log File Type";
  26. LPCWSTR cszAutoNameInterval = (LPCWSTR)L"Auto Name Interval";
  27. LPCWSTR cszLogFileName = (LPCWSTR)L"Log Filename";
  28. LPCWSTR cszLogDefaultDir = (LPCWSTR)L"Log Default Directory";
  29. LPCWSTR cszBaseFileName = (LPCWSTR)L"Base Filename";
  30. LPCWSTR cszLogFileAutoFormat = (LPCWSTR)L"Log File Auto Format";
  31. LPCWSTR cszAutoRenameUnits = (LPCWSTR)L"Auto Rename Units";
  32. LPCWSTR cszCommandFile = (LPCWSTR)L"Command File";
  33. LPCWSTR cszCounterList = (LPCWSTR)L"Counter List";
  34. LPCSTR caszCounterList = "Counter List";
  35. LPCWSTR cszPerfDataLog = (LPCWSTR)L"PerfDataLog";
  36. LPCWSTR cszDefault = (LPCWSTR)L"Default";
  37. LPCSTR caszDefaultLogCaption = "User Data";
  38. LPCWSTR cszPerfNamePathPrefix = (LPCWSTR)L"%systemroot%\\system32\\perf";
  39. LPCWSTR cszDat = (LPCWSTR)L".dat";
  40. LPCWSTR cszWBEM = (LPCWSTR)L"WBEM:";
  41. LPCWSTR cszWMI = (LPCWSTR)L"WMI:";
  42. LPCWSTR cszSQL = (LPCWSTR)L"SQL:";
  43. LPCSTR caszWBEM = "WBEM:";
  44. LPCSTR caszWMI = "WMI:";
  45. LPCWSTR cszWbemDefaultPerfRoot = (LPCWSTR)L"\\root\\cimv2";
  46. LPCWSTR cszSingletonInstance = (LPCWSTR)L"=@";
  47. LPCWSTR cszNameParam = (LPCWSTR)L".Name=\"";
  48. LPCWSTR cszCountertype = (LPCWSTR)L"countertype";
  49. LPCWSTR cszDisplayname = (LPCWSTR)L"displayname";
  50. LPCWSTR cszExplainText = (LPCWSTR)L"Description";
  51. LPCWSTR cszDefaultscale = (LPCWSTR)L"defaultscale";
  52. LPCWSTR cszSingleton = (LPCWSTR)L"singleton";
  53. LPCWSTR cszPerfdetail = (LPCWSTR)L"perfdetail";
  54. LPCWSTR cszPerfdefault = (LPCWSTR)L"perfdefault";
  55. LPCWSTR cszClass = (LPCWSTR)L"__CLASS";
  56. LPCWSTR cszPerfRawData = (LPCWSTR)L"Win32_PerfRawData";
  57. LPCWSTR cszNotFound = (LPCWSTR)L"Not Found";
  58. LPCWSTR cszName = (LPCWSTR)L"Name";
  59. LPCWSTR cszBaseSuffix = (LPCWSTR)L"_Base";
  60. LPCWSTR cszTimestampPerfTime = (LPCWSTR)L"Timestamp_PerfTime";
  61. LPCWSTR cszFrequencyPerfTime = (LPCWSTR)L"Frequency_PerfTime";
  62. LPCWSTR cszTimestampSys100Ns = (LPCWSTR)L"Timestamp_Sys100NS";
  63. LPCWSTR cszFrequencySys100Ns = (LPCWSTR)L"Frequency_Sys100NS";
  64. LPCWSTR cszTimestampObject = (LPCWSTR)L"Timestamp_Object";
  65. LPCWSTR cszFrequencyObject = (LPCWSTR)L"Frequency_Object";
  66. LPCWSTR cszPerfmonLogSig = (LPCWSTR)L"Loges";
  67. LPCWSTR cszRemoteMachineRetryTime = (LPCWSTR)L"Remote Reconnection Retry Time";
  68. LPCWSTR cszEnableRemotePdhAccess = (LPCWSTR)L"Enable Remote PDH Access";
  69. LPCWSTR cszPdhKey = (LPCWSTR)L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\PDH";
  70. LPCWSTR cszDefaultNullDataSource = (LPCWSTR)L"DefaultNullDataSource";
  71. LPCWSTR cszLogSectionName = (LPCWSTR)L"SYSMON_LOG_READONLY_";
  72. LPCWSTR cszCurrentVersionKey = (LPCWSTR)L"Software\\Microsoft\\Windows NT\\CurrentVersion";
  73. LPCWSTR cszCurrentVersionValueName = (LPCWSTR)L"CurrentVersion";
  74. LPCWSTR fmtDecimal = (LPCWSTR)L"%d";
  75. LPCWSTR fmtSpaceDecimal = (LPCWSTR)L" %d";
  76. LPCWSTR fmtLangId = (LPCWSTR)L"%3.3x";
  77. // single character strings
  78. LPCWSTR cszEmptyString = (LPCWSTR)L"";
  79. LPCWSTR cszPoundSign = (LPCWSTR)L"#";
  80. LPCWSTR cszSplat = (LPCWSTR)L"*";
  81. LPCWSTR cszSlash = (LPCWSTR)L"/";
  82. LPCWSTR cszBackSlash = (LPCWSTR)L"\\";
  83. LPCWSTR cszLeftParen = (LPCWSTR)L"(";
  84. LPCWSTR cszRightParen = (LPCWSTR)L")";
  85. LPCWSTR cszC = (LPCWSTR)L"C";
  86. LPCWSTR cszH = (LPCWSTR)L"H";
  87. LPCWSTR cszColon = (LPCWSTR)L":";
  88. LPCWSTR cszDoubleQuote = (LPCWSTR)L"\"";
  89. LPCSTR caszPoundSign = "#";
  90. LPCSTR caszSplat = "*";
  91. LPCSTR caszSlash = "/";
  92. LPCSTR caszBackSlash = "\\";
  93. LPCSTR caszDoubleBackSlash = "\\\\";
  94. LPCSTR caszLeftParen = "(";
  95. LPCSTR caszRightParen = ")";
  96. LPCSTR caszSpace = " ";
  97. LPCWSTR cszDoubleBackSlash = (LPCWSTR)L"\\\\";
  98. LPCWSTR cszDoubleBackSlashDot = (LPCWSTR)L"\\\\.";
  99. LPCWSTR cszRightParenBackSlash = (LPCWSTR)L")\\";
  100. // other general strings
  101. LPCWSTR cszSpacer = (LPCWSTR)L" - ";
  102. LPCWSTR cszBlg = (LPCWSTR)L"blg";
  103. // strings only used in DEBUG builds
  104. #ifdef _DEBUG
  105. LPCWSTR cszNameDontMatch = (LPCWSTR)L"Last Machine Name does not match the current selection";
  106. LPCWSTR cszNotice = (LPCWSTR)L"Notice!";
  107. #endif