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.

116 lines
2.2 KiB

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. log_text.h
  5. Abstract:
  6. <abstract>
  7. --*/
  8. #ifndef _LOG_TEXT_H_
  9. #define _LOG_TEXT_H_
  10. PDH_FUNCTION
  11. PdhiOpenInputTextLog(
  12. PPDHI_LOG pLog
  13. );
  14. PDH_FUNCTION
  15. PdhiOpenOutputTextLog(
  16. PPDHI_LOG pLog
  17. );
  18. PDH_FUNCTION
  19. PdhiCloseTextLog(
  20. PPDHI_LOG pLog,
  21. DWORD dwFlags
  22. );
  23. PDH_FUNCTION
  24. PdhiGetTextLogCounterInfo(
  25. PPDHI_LOG pLog,
  26. PPDHI_COUNTER pCounter
  27. );
  28. PDH_FUNCTION
  29. PdhiWriteTextLogHeader(
  30. PPDHI_LOG pLog,
  31. LPCWSTR szUserCaption
  32. );
  33. PDH_FUNCTION
  34. PdhiWriteTextLogRecord(
  35. PPDHI_LOG pLog,
  36. SYSTEMTIME * pTimeStamp,
  37. LPCWSTR szUserString
  38. );
  39. PDH_FUNCTION
  40. PdhiEnumMachinesFromTextLog(
  41. PPDHI_LOG pLog,
  42. LPVOID pBuffer,
  43. LPDWORD lpdwBufferSize,
  44. BOOL bUnicodeDest
  45. );
  46. PDH_FUNCTION
  47. PdhiEnumObjectsFromTextLog(
  48. PPDHI_LOG pLog,
  49. LPCWSTR szMachineName,
  50. LPVOID mszObjectList,
  51. LPDWORD pcchBufferSize,
  52. DWORD dwDetailLevel,
  53. BOOL bUnicode
  54. );
  55. PDH_FUNCTION
  56. PdhiEnumObjectItemsFromTextLog(
  57. PPDHI_LOG hDataSource,
  58. LPCWSTR szMachineName,
  59. LPCWSTR szObjectName,
  60. PDHI_COUNTER_TABLE CounterTable,
  61. DWORD dwDetailLevel,
  62. DWORD dwFlags
  63. );
  64. PDH_FUNCTION
  65. PdhiGetMatchingTextLogRecord(
  66. PPDHI_LOG pLog,
  67. LONGLONG * pStartTime,
  68. LPDWORD pdwIndex
  69. );
  70. PDH_FUNCTION
  71. PdhiGetCounterValueFromTextLog(
  72. PPDHI_LOG hLog,
  73. DWORD dwIndex,
  74. PERFLIB_COUNTER * pPath,
  75. PPDH_RAW_COUNTER pValue
  76. );
  77. PDH_FUNCTION
  78. PdhiGetTimeRangeFromTextLog(
  79. PPDHI_LOG hLog,
  80. LPDWORD pdwNumEntries,
  81. PPDH_TIME_INFO pInfo,
  82. LPDWORD dwBufferSize
  83. );
  84. PDH_FUNCTION
  85. PdhiReadRawTextLogRecord(
  86. PPDHI_LOG pLog,
  87. FILETIME * ftRecord,
  88. PPDH_RAW_LOG_RECORD pBuffer,
  89. LPDWORD pdwBufferLength
  90. );
  91. PDH_FUNCTION
  92. PdhiListHeaderFromTextLog(
  93. PPDHI_LOG pLogFile,
  94. LPVOID pBufferArg,
  95. LPDWORD pcchBufferSize,
  96. BOOL bUnicode
  97. );
  98. #endif // _LOG_TEXT_H_