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.

70 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2001-2002 Microsoft Corporation
  3. Module Name:
  4. uletwp.h (UL IIS+ ETW logging)
  5. Abstract:
  6. Contains private ETW declarations.
  7. Author:
  8. Melur Raghuraman (mraghu) 26-Feb-2001
  9. Revision History:
  10. --*/
  11. #ifndef _ULETWP_H_
  12. #define _ULETWP_H_
  13. #include <ntwmi.h>
  14. #include <evntrace.h>
  15. //
  16. // Private constants.
  17. //
  18. #define UL_TRACE_MOF_FILE L"UlMofResource"
  19. //
  20. // Private types.
  21. //
  22. typedef struct _UL_ETW_TRACE_EVENT {
  23. EVENT_TRACE_HEADER Header;
  24. MOF_FIELD MofField[MAX_MOF_FIELDS];
  25. } UL_ETW_TRACE_EVENT, *PUL_ETW_TRACE_EVENT;
  26. //
  27. // Private prototypes.
  28. //
  29. NTSTATUS
  30. UlEtwRegisterGuids(
  31. IN PWMIREGINFO EtwRegInfo,
  32. IN ULONG etwRegInfoSize,
  33. IN PULONG pReturnSize
  34. );
  35. NTSTATUS
  36. UlEtwEnableLog(
  37. IN PVOID Buffer,
  38. IN ULONG BufferSize
  39. );
  40. NTSTATUS
  41. UlEtwDisableLog(
  42. );
  43. NTSTATUS
  44. UlEtwDispatch(
  45. IN PDEVICE_OBJECT pDO,
  46. IN PIRP Irp
  47. );
  48. #endif // _ULETWP_H_