mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 14:48:37 +00:00
64 lines
1.5 KiB
C
64 lines
1.5 KiB
C
/******************************************************************************
|
|
* WMI Library Support Types *
|
|
******************************************************************************/
|
|
|
|
#ifdef RUN_WPP
|
|
#include <evntrace.h>
|
|
#include <stdarg.h>
|
|
#endif
|
|
|
|
#ifndef _TRACEHANDLE_DEFINED
|
|
#define _TRACEHANDLE_DEFINED
|
|
typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE;
|
|
#endif
|
|
|
|
#ifndef TRACE_INFORMATION_CLASS_DEFINE
|
|
|
|
typedef struct _ETW_TRACE_SESSION_SETTINGS {
|
|
ULONG Version;
|
|
ULONG BufferSize;
|
|
ULONG MinimumBuffers;
|
|
ULONG MaximumBuffers;
|
|
ULONG LoggerMode;
|
|
ULONG FlushTimer;
|
|
ULONG FlushThreshold;
|
|
ULONG ClockType;
|
|
} ETW_TRACE_SESSION_SETTINGS, *PETW_TRACE_SESSION_SETTINGS;
|
|
|
|
typedef enum _TRACE_INFORMATION_CLASS {
|
|
TraceIdClass,
|
|
TraceHandleClass,
|
|
TraceEnableFlagsClass,
|
|
TraceEnableLevelClass,
|
|
GlobalLoggerHandleClass,
|
|
EventLoggerHandleClass,
|
|
AllLoggerHandlesClass,
|
|
TraceHandleByNameClass,
|
|
LoggerEventsLostClass,
|
|
TraceSessionSettingsClass,
|
|
LoggerEventsLoggedClass,
|
|
MaxTraceInformationClass
|
|
} TRACE_INFORMATION_CLASS;
|
|
|
|
#endif /* TRACE_INFORMATION_CLASS_DEFINE */
|
|
|
|
#ifndef _ETW_KM_
|
|
#define _ETW_KM_
|
|
#endif
|
|
|
|
#include <evntprov.h>
|
|
|
|
_IRQL_requires_same_
|
|
typedef VOID
|
|
(NTAPI *PETWENABLECALLBACK)(
|
|
_In_ LPCGUID SourceId,
|
|
_In_ ULONG ControlCode,
|
|
_In_ UCHAR Level,
|
|
_In_ ULONGLONG MatchAnyKeyword,
|
|
_In_ ULONGLONG MatchAllKeyword,
|
|
_In_opt_ PEVENT_FILTER_DESCRIPTOR FilterData,
|
|
_Inout_opt_ PVOID CallbackContext);
|
|
|
|
#define EVENT_WRITE_FLAG_NO_FAULTING 0x00000001
|
|
|