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.

115 lines
6.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 = (LPCWSTR) L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Perflib";
  13. LPCWSTR cszDefaultLangId = (LPCWSTR) L"009";
  14. LPCWSTR cszCounters = (LPCWSTR) L"Counters";
  15. LPCWSTR cszHelp = (LPCWSTR) L"Help";
  16. LPCWSTR cszLastHelp = (LPCWSTR) L"Last Help";
  17. LPCWSTR cszLastCounter = (LPCWSTR) L"Last Counter";
  18. LPCWSTR cszVersionName = (LPCWSTR) L"Version";
  19. LPCWSTR cszCounterName = (LPCWSTR) L"Counter ";
  20. LPCWSTR cszHelpName = (LPCWSTR) L"Explain ";
  21. LPCWSTR cszGlobal = (LPCWSTR) L"Global";
  22. LPCWSTR cszCostly = (LPCWSTR) L"Costly";
  23. LPCWSTR cszLogQueries = (LPCWSTR) L"SYSTEM\\CurrentControlSet\\Services\\PerfDataLog\\Log Queries";
  24. LPCWSTR cszLogFileType = (LPCWSTR) L"Log File Type";
  25. LPCWSTR cszAutoNameInterval = (LPCWSTR) L"Auto Name Interval";
  26. LPCWSTR cszLogFileName = (LPCWSTR) L"Log Filename";
  27. LPCWSTR cszLogDefaultDir = (LPCWSTR) L"Log Default Directory";
  28. LPCWSTR cszBaseFileName = (LPCWSTR) L"Base Filename";
  29. LPCWSTR cszLogFileAutoFormat = (LPCWSTR) L"Log File Auto Format";
  30. LPCWSTR cszAutoRenameUnits = (LPCWSTR) L"Auto Rename Units";
  31. LPCWSTR cszCommandFile = (LPCWSTR) L"Command File";
  32. LPCWSTR cszCounterList = (LPCWSTR) L"Counter List";
  33. LPCSTR caszCounterList = "Counter List";
  34. LPCWSTR cszPerfDataLog = (LPCWSTR) L"PerfDataLog";
  35. LPCWSTR cszDefault = (LPCWSTR) L"Default";
  36. LPCSTR caszDefaultLogCaption = "User Data";
  37. LPCWSTR cszPerfNamePathPrefix = (LPCWSTR) L"%systemroot%\\system32\\perf";
  38. LPCWSTR cszDat = (LPCWSTR) L".dat";
  39. LPCWSTR cszWBEM = (LPCWSTR) L"WBEM:";
  40. LPCWSTR cszWMI = (LPCWSTR) L"WMI:";
  41. LPCWSTR cszSQL = (LPCWSTR) L"SQL:";
  42. LPCSTR caszWBEM = "WBEM:";
  43. LPCSTR caszWMI = "WMI:";
  44. LPCWSTR cszWbemDefaultPerfRoot = (LPCWSTR) L"\\root\\cimv2";
  45. LPCWSTR cszSingletonInstance = (LPCWSTR) L"=@";
  46. LPCWSTR cszNameParam = (LPCWSTR) L".Name=\"";
  47. LPCWSTR cszCountertype = (LPCWSTR) L"countertype";
  48. LPCWSTR cszDisplayname = (LPCWSTR) L"displayname";
  49. LPCWSTR cszExplainText = (LPCWSTR) L"Description";
  50. LPCWSTR cszDefaultscale = (LPCWSTR) L"defaultscale";
  51. LPCWSTR cszSingleton = (LPCWSTR) L"singleton";
  52. LPCWSTR cszPerfdetail = (LPCWSTR) L"perfdetail";
  53. LPCWSTR cszPerfdefault = (LPCWSTR) L"perfdefault";
  54. LPCWSTR cszClass = (LPCWSTR) L"__CLASS";
  55. LPCWSTR cszPerfRawData = (LPCWSTR) L"Win32_PerfRawData";
  56. LPCWSTR cszNotFound = (LPCWSTR) L"Not Found";
  57. LPCWSTR cszName = (LPCWSTR) L"Name";
  58. LPCWSTR cszBaseSuffix = (LPCWSTR) L"_Base";
  59. LPCWSTR cszTimestampPerfTime = (LPCWSTR) L"Timestamp_PerfTime";
  60. LPCWSTR cszFrequencyPerfTime = (LPCWSTR) L"Frequency_PerfTime";
  61. LPCWSTR cszTimestampSys100Ns = (LPCWSTR) L"Timestamp_Sys100NS";
  62. LPCWSTR cszFrequencySys100Ns = (LPCWSTR) L"Frequency_Sys100NS";
  63. LPCWSTR cszTimestampObject = (LPCWSTR) L"Timestamp_Object";
  64. LPCWSTR cszFrequencyObject = (LPCWSTR) L"Frequency_Object";
  65. LPCWSTR cszPerfmonLogSig = (LPCWSTR) L"Loges";
  66. LPCWSTR cszRemoteMachineRetryTime = (LPCWSTR) L"Remote Reconnection Retry Time";
  67. LPCWSTR cszEnableRemotePdhAccess = (LPCWSTR) L"Enable Remote PDH Access";
  68. LPCWSTR cszPdhKey = (LPCWSTR) L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\PDH";
  69. LPCWSTR cszDefaultNullDataSource = (LPCWSTR) L"DefaultNullDataSource";
  70. LPCWSTR cszCollectTimeout = (LPCWSTR) L"CollectTimeout";
  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