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.

120 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. IN PPDHI_LOG pLog
  13. );
  14. PDH_FUNCTION
  15. PdhiOpenOutputTextLog (
  16. IN PPDHI_LOG pLog
  17. );
  18. PDH_FUNCTION
  19. PdhiCloseTextLog (
  20. IN PPDHI_LOG pLog,
  21. IN DWORD dwFlags
  22. );
  23. PDH_FUNCTION
  24. PdhiGetTextLogCounterInfo (
  25. IN PPDHI_LOG pLog,
  26. IN PPDHI_COUNTER pCounter
  27. );
  28. PDH_FUNCTION
  29. PdhiWriteTextLogHeader (
  30. IN PPDHI_LOG pLog,
  31. IN LPCWSTR szUserCaption
  32. );
  33. PDH_FUNCTION
  34. PdhiWriteTextLogRecord (
  35. IN PPDHI_LOG pLog,
  36. IN SYSTEMTIME *pTimeStamp,
  37. IN 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. IN PPDHI_LOG pLog,
  49. IN LPCWSTR szMachineName,
  50. IN LPVOID mszObjectList,
  51. IN LPDWORD pcchBufferSize,
  52. IN DWORD dwDetailLevel,
  53. IN BOOL bUnicode
  54. );
  55. PDH_FUNCTION
  56. PdhiEnumObjectItemsFromTextLog (
  57. IN PPDHI_LOG hDataSource,
  58. IN LPCWSTR szMachineName,
  59. IN LPCWSTR szObjectName,
  60. IN PDHI_COUNTER_TABLE CounterTable,
  61. IN DWORD dwDetailLevel,
  62. IN DWORD dwFlags
  63. );
  64. PDH_FUNCTION
  65. PdhiGetMatchingTextLogRecord (
  66. IN PPDHI_LOG pLog,
  67. IN LONGLONG *pStartTime,
  68. IN LPDWORD pdwIndex
  69. );
  70. PDH_FUNCTION
  71. PdhiGetCounterValueFromTextLog (
  72. IN PPDHI_LOG hLog,
  73. IN DWORD dwIndex,
  74. IN PERFLIB_COUNTER *pPath,
  75. IN PPDH_RAW_COUNTER pValue
  76. );
  77. PDH_FUNCTION
  78. PdhiGetTimeRangeFromTextLog (
  79. IN PPDHI_LOG hLog,
  80. IN LPDWORD pdwNumEntries,
  81. IN PPDH_TIME_INFO pInfo,
  82. IN LPDWORD dwBufferSize
  83. );
  84. PDH_FUNCTION
  85. PdhiReadRawTextLogRecord (
  86. IN PPDHI_LOG pLog,
  87. IN FILETIME *ftRecord,
  88. IN PPDH_RAW_LOG_RECORD pBuffer,
  89. IN LPDWORD pdwBufferLength
  90. );
  91. PDH_FUNCTION
  92. PdhiListHeaderFromTextLog (
  93. IN PPDHI_LOG pLogFile,
  94. IN LPVOID pBufferArg,
  95. IN LPDWORD pcchBufferSize,
  96. IN BOOL bUnicode
  97. );
  98. #endif // _LOG_TEXT_H_