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.

119 lines
8.5 KiB

  1. #include "stdafx.h"
  2. #include "strnoloc.h"
  3. //const WCHAR CGlobalString::m_chBackslash = L'\\';
  4. LPCWSTR CGlobalString::m_cszDefaultsInstalled = L"Defaults Installed";
  5. LPCWSTR CGlobalString::m_cszConceptsHTMLHelpFileName = L"\\help\\smlogcfg.chm";
  6. LPCWSTR CGlobalString::m_cszSnapinHTMLHelpFileName = L"\\help\\smlogcfg.chm";
  7. LPCWSTR CGlobalString::m_cszHTMLHelpTopic = L"nt_smlogcfg_topnode.htm";
  8. LPCWSTR CGlobalString::m_cszContextHelpFileName = L"\\help\\sysmon.hlp";
  9. LPCWSTR CGlobalString::m_cszDefaultCtrLogCpuPath = L"\\Processor(_Total)\\% Processor Time";
  10. LPCWSTR CGlobalString::m_cszDefaultCtrLogMemoryPath = L"\\Memory\\Pages/sec";
  11. LPCWSTR CGlobalString::m_cszDefaultCtrLogDiskPath = L"\\PhysicalDisk(_Total)\\Avg. Disk Queue Length";
  12. LPCWSTR CGlobalString::m_cszRegComment = L"Comment";
  13. LPCWSTR CGlobalString::m_cszRegCommentIndirect = L"Comment Indirect";
  14. LPCWSTR CGlobalString::m_cszRegLogType = L"Log Type";
  15. LPCWSTR CGlobalString::m_cszRegCurrentState = L"Current State";
  16. LPCWSTR CGlobalString::m_cszRegLogFileMaxSize = L"Log File Max Size";
  17. LPCWSTR CGlobalString::m_cszRegLogFileBaseName = L"Log File Base Name";
  18. LPCWSTR CGlobalString::m_cszRegLogFileBaseNameInd = L"Log File Base Name Indirect";
  19. LPCWSTR CGlobalString::m_cszRegLogFileFolder = L"Log File Folder";
  20. LPCWSTR CGlobalString::m_cszRegLogFileSerialNumber = L"Log File Serial Number";
  21. LPCWSTR CGlobalString::m_cszRegLogFileAutoFormat = L"Log File Auto Format";
  22. LPCWSTR CGlobalString::m_cszRegLogFileType = L"Log File Type";
  23. LPCWSTR CGlobalString::m_cszRegStartTime = L"Start";
  24. LPCWSTR CGlobalString::m_cszRegStopTime = L"Stop";
  25. LPCWSTR CGlobalString::m_cszRegRestart = L"Restart";
  26. LPCWSTR CGlobalString::m_cszRegLastModified = L"Last Modified";
  27. LPCWSTR CGlobalString::m_cszRegCounterList = L"Counter List";
  28. LPCWSTR CGlobalString::m_cszRegSampleInterval = L"Sample Interval";
  29. LPCWSTR CGlobalString::m_cszRegEofCommandFile = L"EOF Command File";
  30. LPCWSTR CGlobalString::m_cszRegCollectionName = L"Collection Name";
  31. LPCWSTR CGlobalString::m_cszRegDataStoreAttributes = L"Data Store Attributes";
  32. LPCWSTR CGlobalString::m_cszRegRealTimeDataSource = L"RealTime DataSource";
  33. LPCWSTR CGlobalString::m_cszRegSqlLogBaseName = L"Sql Log Base Name";
  34. LPCWSTR CGlobalString::m_cszRegCommandFile = L"Command File";
  35. LPCWSTR CGlobalString::m_cszRegNetworkName = L"Network Name";
  36. LPCWSTR CGlobalString::m_cszRegUserText = L"User Text";
  37. LPCWSTR CGlobalString::m_cszRegUserTextIndirect = L"User Text Indirect";
  38. LPCWSTR CGlobalString::m_cszRegPerfLogName = L"Perf Log Name";
  39. LPCWSTR CGlobalString::m_cszRegActionFlags = L"Action Flags";
  40. LPCWSTR CGlobalString::m_cszRegTraceBufferSize = L"Trace Buffer Size";
  41. LPCWSTR CGlobalString::m_cszRegTraceBufferMinCount = L"Trace Buffer Min Count";
  42. LPCWSTR CGlobalString::m_cszRegTraceBufferMaxCount = L"Trace Buffer Max Count";
  43. LPCWSTR CGlobalString::m_cszRegTraceBufferFlushInterval = L"Trace Buffer Flush Interval";
  44. LPCWSTR CGlobalString::m_cszRegTraceFlags = L"Trace Flags";
  45. LPCWSTR CGlobalString::m_cszRegTraceProviderList = L"Trace Provider List";
  46. LPCWSTR CGlobalString::m_cszRegTraceProviderCount = L"TraceProviderCount";
  47. LPCWSTR CGlobalString::m_cszRegTraceProviderGuid = L"TraceProvider%05d.Guid";
  48. LPCWSTR CGlobalString::m_cszRegAlertThreshold = L"Counter%05d.AlertThreshold";
  49. LPCWSTR CGlobalString::m_cszRegAlertOverUnder = L"Counter%05d.AlertOverUnder";
  50. LPCWSTR CGlobalString::m_cszRegDefaultLogFileFolder = L"%SystemDrive%\\PerfLogs";
  51. LPCWSTR CGlobalString::m_cszRegExecuteOnly = L"ExecuteOnly";
  52. LPCWSTR CGlobalString::m_cszRegCollectionNameInd = L"Collection Name Indirect";
  53. LPCWSTR CGlobalString::m_cszHtmlComment = L"Comment";
  54. LPCWSTR CGlobalString::m_cszHtmlLogType = L"LogType";
  55. LPCWSTR CGlobalString::m_cszHtmlCurrentState = L"CurrentState";
  56. LPCWSTR CGlobalString::m_cszHtmlLogFileMaxSize = L"LogFileMaxSize";
  57. LPCWSTR CGlobalString::m_cszHtmlLogFileBaseName = L"LogFileBaseName";
  58. LPCWSTR CGlobalString::m_cszHtmlLogFileFolder = L"LogFileFolder";
  59. LPCWSTR CGlobalString::m_cszHtmlLogFileSerialNumber = L"LogFileSerialNumber";
  60. LPCWSTR CGlobalString::m_cszHtmlLogFileAutoFormat = L"LogFileAutoFormat";
  61. LPCWSTR CGlobalString::m_cszHtmlLogFileType = L"LogFileType";
  62. LPCWSTR CGlobalString::m_cszHtmlEOFCommandFile = L"EOFCommandFile";
  63. LPCWSTR CGlobalString::m_cszHtmlCommandFile = L"CommandFile";
  64. LPCWSTR CGlobalString::m_cszHtmlNetworkName = L"NetworkName";
  65. LPCWSTR CGlobalString::m_cszHtmlUserText = L"UserText";
  66. LPCWSTR CGlobalString::m_cszHtmlPerfLogName = L"PerfLogName";
  67. LPCWSTR CGlobalString::m_cszHtmlActionFlags = L"ActionFlags";
  68. LPCWSTR CGlobalString::m_cszHtmlTraceBufferSize = L"TraceBufferSize";
  69. LPCWSTR CGlobalString::m_cszHtmlTraceBufferMinCount = L"TraceBufferMinCount";
  70. LPCWSTR CGlobalString::m_cszHtmlTraceBufferMaxCount = L"TraceBufferMaxCount";
  71. LPCWSTR CGlobalString::m_cszHtmlTraceBufferFlushInterval = L"TraceBufferFlushInterval";
  72. LPCWSTR CGlobalString::m_cszHtmlTraceFlags = L"TraceFlags";
  73. LPCWSTR CGlobalString::m_cszHtmlLogFileName = L"LogFileName";
  74. LPCWSTR CGlobalString::m_cszHtmlCounterCount = L"CounterCount";
  75. LPCWSTR CGlobalString::m_cszHtmlSampleCount = L"SampleCount";
  76. LPCWSTR CGlobalString::m_cszHtmlUpdateInterval = L"UpdateInterval";
  77. LPCWSTR CGlobalString::m_cszHtmlCounterPath = L"Counter%05d.Path";
  78. LPCWSTR CGlobalString::m_cszHtmlRestartMode = L"RestartMode";
  79. LPCWSTR CGlobalString::m_cszHtmlSampleIntervalUnitType = L"SampleIntervalUnitType";
  80. LPCWSTR CGlobalString::m_cszHtmlSampleIntervalValue = L"SampleIntervalValue";
  81. LPCWSTR CGlobalString::m_cszHtmlStartMode = L"StartMode";
  82. LPCWSTR CGlobalString::m_cszHtmlStartAtTime = L"StartAtTime";
  83. LPCWSTR CGlobalString::m_cszHtmlStopMode = L"StopMode";
  84. LPCWSTR CGlobalString::m_cszHtmlStopAtTime = L"StopAtTime";
  85. LPCWSTR CGlobalString::m_cszHtmlStopAfterUnitType = L"StopAfterUnitType";
  86. LPCWSTR CGlobalString::m_cszHtmlStopAfterValue = L"StopAfterValue";
  87. LPCWSTR CGlobalString::m_cszHtmlCounterAlertThreshold = L"Counter%05d.AlertThreshold";
  88. LPCWSTR CGlobalString::m_cszHtmlCounterAlertOverUnder = L"Counter%05d.AlertOverUnder";
  89. LPCWSTR CGlobalString::m_cszHtmlTraceProviderCount = L"TraceProviderCount";
  90. LPCWSTR CGlobalString::m_cszHtmlTraceProviderGuid = L"TraceProvider%05d.Guid";
  91. LPCWSTR CGlobalString::m_cszHtmlLogName = L"LogName";
  92. LPCWSTR CGlobalString::m_cszHtmlAlertName = L"AlertName";
  93. LPCWSTR CGlobalString::m_cszHtml_Version = L"_Version";
  94. LPCWSTR CGlobalString::m_cszHtmlDataStoreAttributes = L"DataStoreAttributes";
  95. LPCWSTR CGlobalString::m_cszHtmlRealTimeDataSource = L"RealTimeDataSource";
  96. LPCWSTR CGlobalString::m_cszHtmlSqlLogBaseName = L"Sql Log Base Name";
  97. LPCWSTR CGlobalString::m_cszHtmlObjectClassId = L"C4D2D8E0-D1DD-11CE-940F-008029004347";
  98. LPCWSTR CGlobalString::m_cszHtmlObjectHeader = L"<OBJECT ID=\"DISystemMonitor1\" WIDTH=\"100%\" HEIGHT=\"100%\"\r\nCLASSID=\"CLSID:C4D2D8E0-D1DD-11CE-940F-008029004347\">\r\n";
  99. LPCWSTR CGlobalString::m_cszHtmlObjectFooter = L"</OBJECT>";
  100. LPCWSTR CGlobalString::m_cszHtmlParamTag = L"\t<PARAM NAME=\"";
  101. LPCWSTR CGlobalString::m_cszHtmlValueTag = L"\" VALUE=\"";
  102. LPCWSTR CGlobalString::m_cszHtmlValueEolTag = L"\"/>\r\n";
  103. LPCWSTR CGlobalString::m_cszHtmlFileHeader1 = L"<HTML>\r\n<HEAD>\r\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html;\" />\r\n";
  104. LPCWSTR CGlobalString::m_cszHtmlFileHeader2 = L"<META NAME=\"GENERATOR\" Content=\"Microsoft System Monitor\" />\r\n</HEAD>\r\n<BODY>\r\n";
  105. LPCWSTR CGlobalString::m_cszHtmlFileFooter = L"\r\n</BODY>\r\n</HTML>";
  106. LPCWSTR CGlobalString::m_cszHtmlParamSearchTag = L"PARAM NAME";
  107. LPCWSTR CGlobalString::m_cszHtmlValueSearchTag = L"VALUE";