ReactOS 0.4.16-dev-334-g4d9f67c
evntrace.h
Go to the documentation of this file.
1#pragma once
2
3#define _EVNTRACE_
4
5#ifndef WMIAPI
6#ifndef MIDL_PASS
7#ifdef _WMI_SOURCE_
8#define WMIAPI __stdcall
9#else
10#define WMIAPI DECLSPEC_IMPORT __stdcall
11#endif
12#endif /* MIDL_PASS */
13#endif /* WMIAPI */
14
15#include <guiddef.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21DEFINE_GUID (EventTraceGuid, 0x68fdd900, 0x4a3e, 0x11d1, 0x84, 0xf4, 0x00, 0x00, 0xf8, 0x04, 0x64, 0xe3);
22DEFINE_GUID (SystemTraceControlGuid, 0x9e814aad, 0x3204, 0x11d2, 0x9a, 0x82, 0x00, 0x60, 0x08, 0xa8, 0x69, 0x39);
23DEFINE_GUID (EventTraceConfigGuid, 0x01853a65, 0x418f, 0x4f36, 0xae, 0xfc, 0xdc, 0x0f, 0x1d, 0x2f, 0xd2, 0x35);
24DEFINE_GUID (DefaultTraceSecurityGuid, 0x0811c1af, 0x7a07, 0x4a06, 0x82, 0xed, 0x86, 0x94, 0x55, 0xcd, 0xf7, 0x13);
25
26#define KERNEL_LOGGER_NAMEW L"NT Kernel Logger"
27#define GLOBAL_LOGGER_NAMEW L"GlobalLogger"
28#define EVENT_LOGGER_NAMEW L"EventLog"
29#define DIAG_LOGGER_NAMEW L"DiagLog"
30
31#define KERNEL_LOGGER_NAMEA "NT Kernel Logger"
32#define GLOBAL_LOGGER_NAMEA "GlobalLogger"
33#define EVENT_LOGGER_NAMEA "EventLog"
34#define DIAG_LOGGER_NAMEA "DiagLog"
35
36#define MAX_MOF_FIELDS 16
37
38#ifndef _TRACEHANDLE_DEFINED
39#define _TRACEHANDLE_DEFINED
41#endif
42
43#define SYSTEM_EVENT_TYPE 1
44
45#define EVENT_TRACE_TYPE_INFO 0x00
46#define EVENT_TRACE_TYPE_START 0x01
47#define EVENT_TRACE_TYPE_END 0x02
48#define EVENT_TRACE_TYPE_STOP 0x02
49#define EVENT_TRACE_TYPE_DC_START 0x03
50#define EVENT_TRACE_TYPE_DC_END 0x04
51#define EVENT_TRACE_TYPE_EXTENSION 0x05
52#define EVENT_TRACE_TYPE_REPLY 0x06
53#define EVENT_TRACE_TYPE_DEQUEUE 0x07
54#define EVENT_TRACE_TYPE_RESUME 0x07
55#define EVENT_TRACE_TYPE_CHECKPOINT 0x08
56#define EVENT_TRACE_TYPE_SUSPEND 0x08
57#define EVENT_TRACE_TYPE_WINEVT_SEND 0x09
58#define EVENT_TRACE_TYPE_WINEVT_RECEIVE 0XF0
59
60#define TRACE_LEVEL_NONE 0
61#define TRACE_LEVEL_CRITICAL 1
62#define TRACE_LEVEL_FATAL 1
63#define TRACE_LEVEL_ERROR 2
64#define TRACE_LEVEL_WARNING 3
65#define TRACE_LEVEL_INFORMATION 4
66#define TRACE_LEVEL_VERBOSE 5
67#define TRACE_LEVEL_RESERVED6 6
68#define TRACE_LEVEL_RESERVED7 7
69#define TRACE_LEVEL_RESERVED8 8
70#define TRACE_LEVEL_RESERVED9 9
71
72#define EVENT_TRACE_TYPE_LOAD 0x0A
73
74#define EVENT_TRACE_TYPE_IO_READ 0x0A
75#define EVENT_TRACE_TYPE_IO_WRITE 0x0B
76#define EVENT_TRACE_TYPE_IO_READ_INIT 0x0C
77#define EVENT_TRACE_TYPE_IO_WRITE_INIT 0x0D
78#define EVENT_TRACE_TYPE_IO_FLUSH 0x0E
79#define EVENT_TRACE_TYPE_IO_FLUSH_INIT 0x0F
80
81#define EVENT_TRACE_TYPE_MM_TF 0x0A
82#define EVENT_TRACE_TYPE_MM_DZF 0x0B
83#define EVENT_TRACE_TYPE_MM_COW 0x0C
84#define EVENT_TRACE_TYPE_MM_GPF 0x0D
85#define EVENT_TRACE_TYPE_MM_HPF 0x0E
86#define EVENT_TRACE_TYPE_MM_AV 0x0F
87
88#define EVENT_TRACE_TYPE_SEND 0x0A
89#define EVENT_TRACE_TYPE_RECEIVE 0x0B
90#define EVENT_TRACE_TYPE_CONNECT 0x0C
91#define EVENT_TRACE_TYPE_DISCONNECT 0x0D
92#define EVENT_TRACE_TYPE_RETRANSMIT 0x0E
93#define EVENT_TRACE_TYPE_ACCEPT 0x0F
94#define EVENT_TRACE_TYPE_RECONNECT 0x10
95#define EVENT_TRACE_TYPE_CONNFAIL 0x11
96#define EVENT_TRACE_TYPE_COPY_TCP 0x12
97#define EVENT_TRACE_TYPE_COPY_ARP 0x13
98#define EVENT_TRACE_TYPE_ACKFULL 0x14
99#define EVENT_TRACE_TYPE_ACKPART 0x15
100#define EVENT_TRACE_TYPE_ACKDUP 0x16
101
102#define EVENT_TRACE_TYPE_GUIDMAP 0x0A
103#define EVENT_TRACE_TYPE_CONFIG 0x0B
104#define EVENT_TRACE_TYPE_SIDINFO 0x0C
105#define EVENT_TRACE_TYPE_SECURITY 0x0D
106
107#define EVENT_TRACE_TYPE_REGCREATE 0x0A
108#define EVENT_TRACE_TYPE_REGOPEN 0x0B
109#define EVENT_TRACE_TYPE_REGDELETE 0x0C
110#define EVENT_TRACE_TYPE_REGQUERY 0x0D
111#define EVENT_TRACE_TYPE_REGSETVALUE 0x0E
112#define EVENT_TRACE_TYPE_REGDELETEVALUE 0x0F
113#define EVENT_TRACE_TYPE_REGQUERYVALUE 0x10
114#define EVENT_TRACE_TYPE_REGENUMERATEKEY 0x11
115#define EVENT_TRACE_TYPE_REGENUMERATEVALUEKEY 0x12
116#define EVENT_TRACE_TYPE_REGQUERYMULTIPLEVALUE 0x13
117#define EVENT_TRACE_TYPE_REGSETINFORMATION 0x14
118#define EVENT_TRACE_TYPE_REGFLUSH 0x15
119#define EVENT_TRACE_TYPE_REGKCBCREATE 0x16
120#define EVENT_TRACE_TYPE_REGKCBDELETE 0x17
121#define EVENT_TRACE_TYPE_REGKCBRUNDOWNBEGIN 0x18
122#define EVENT_TRACE_TYPE_REGKCBRUNDOWNEND 0x19
123#define EVENT_TRACE_TYPE_REGVIRTUALIZE 0x1A
124#define EVENT_TRACE_TYPE_REGCLOSE 0x1B
125#define EVENT_TRACE_TYPE_REGSETSECURITY 0x1C
126#define EVENT_TRACE_TYPE_REGQUERYSECURITY 0x1D
127#define EVENT_TRACE_TYPE_REGCOMMIT 0x1E
128#define EVENT_TRACE_TYPE_REGPREPARE 0x1F
129#define EVENT_TRACE_TYPE_REGROLLBACK 0x20
130#define EVENT_TRACE_TYPE_REGMOUNTHIVE 0x21
131
132#define EVENT_TRACE_TYPE_CONFIG_CPU 0x0A
133#define EVENT_TRACE_TYPE_CONFIG_PHYSICALDISK 0x0B
134#define EVENT_TRACE_TYPE_CONFIG_LOGICALDISK 0x0C
135#define EVENT_TRACE_TYPE_CONFIG_NIC 0x0D
136#define EVENT_TRACE_TYPE_CONFIG_VIDEO 0x0E
137#define EVENT_TRACE_TYPE_CONFIG_SERVICES 0x0F
138#define EVENT_TRACE_TYPE_CONFIG_POWER 0x10
139#define EVENT_TRACE_TYPE_CONFIG_NETINFO 0x11
140
141#define EVENT_TRACE_TYPE_CONFIG_IRQ 0x15
142#define EVENT_TRACE_TYPE_CONFIG_PNP 0x16
143#define EVENT_TRACE_TYPE_CONFIG_IDECHANNEL 0x17
144#define EVENT_TRACE_TYPE_CONFIG_PLATFORM 0x19
145
146#define EVENT_TRACE_FLAG_PROCESS 0x00000001
147#define EVENT_TRACE_FLAG_THREAD 0x00000002
148#define EVENT_TRACE_FLAG_IMAGE_LOAD 0x00000004
149
150#define EVENT_TRACE_FLAG_DISK_IO 0x00000100
151#define EVENT_TRACE_FLAG_DISK_FILE_IO 0x00000200
152
153#define EVENT_TRACE_FLAG_MEMORY_PAGE_FAULTS 0x00001000
154#define EVENT_TRACE_FLAG_MEMORY_HARD_FAULTS 0x00002000
155
156#define EVENT_TRACE_FLAG_NETWORK_TCPIP 0x00010000
157
158#define EVENT_TRACE_FLAG_REGISTRY 0x00020000
159#define EVENT_TRACE_FLAG_DBGPRINT 0x00040000
160
161#define EVENT_TRACE_FLAG_PROCESS_COUNTERS 0x00000008
162#define EVENT_TRACE_FLAG_CSWITCH 0x00000010
163#define EVENT_TRACE_FLAG_DPC 0x00000020
164#define EVENT_TRACE_FLAG_INTERRUPT 0x00000040
165#define EVENT_TRACE_FLAG_SYSTEMCALL 0x00000080
166
167#define EVENT_TRACE_FLAG_DISK_IO_INIT 0x00000400
168
169#define EVENT_TRACE_FLAG_ALPC 0x00100000
170#define EVENT_TRACE_FLAG_SPLIT_IO 0x00200000
171
172#define EVENT_TRACE_FLAG_DRIVER 0x00800000
173#define EVENT_TRACE_FLAG_PROFILE 0x01000000
174#define EVENT_TRACE_FLAG_FILE_IO 0x02000000
175#define EVENT_TRACE_FLAG_FILE_IO_INIT 0x04000000
176
177#define EVENT_TRACE_FLAG_DISPATCHER 0x00000800
178#define EVENT_TRACE_FLAG_VIRTUAL_ALLOC 0x00004000
179
180#define EVENT_TRACE_FLAG_EXTENSION 0x80000000
181#define EVENT_TRACE_FLAG_FORWARD_WMI 0x40000000
182#define EVENT_TRACE_FLAG_ENABLE_RESERVE 0x20000000
183
184#define EVENT_TRACE_FILE_MODE_NONE 0x00000000
185#define EVENT_TRACE_FILE_MODE_SEQUENTIAL 0x00000001
186#define EVENT_TRACE_FILE_MODE_CIRCULAR 0x00000002
187#define EVENT_TRACE_FILE_MODE_APPEND 0x00000004
188
189#define EVENT_TRACE_REAL_TIME_MODE 0x00000100
190#define EVENT_TRACE_DELAY_OPEN_FILE_MODE 0x00000200
191#define EVENT_TRACE_BUFFERING_MODE 0x00000400
192#define EVENT_TRACE_PRIVATE_LOGGER_MODE 0x00000800
193#define EVENT_TRACE_ADD_HEADER_MODE 0x00001000
194
195#define EVENT_TRACE_USE_GLOBAL_SEQUENCE 0x00004000
196#define EVENT_TRACE_USE_LOCAL_SEQUENCE 0x00008000
197
198#define EVENT_TRACE_RELOG_MODE 0x00010000
199
200#define EVENT_TRACE_USE_PAGED_MEMORY 0x01000000
201
202#define EVENT_TRACE_FILE_MODE_NEWFILE 0x00000008
203#define EVENT_TRACE_FILE_MODE_PREALLOCATE 0x00000020
204
205#define EVENT_TRACE_NONSTOPPABLE_MODE 0x00000040
206#define EVENT_TRACE_SECURE_MODE 0x00000080
207#define EVENT_TRACE_USE_KBYTES_FOR_SIZE 0x00002000
208#define EVENT_TRACE_PRIVATE_IN_PROC 0x00020000
209#define EVENT_TRACE_MODE_RESERVED 0x00100000
210
211#define EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING 0x10000000
212
213#define EVENT_TRACE_CONTROL_QUERY 0
214#define EVENT_TRACE_CONTROL_STOP 1
215#define EVENT_TRACE_CONTROL_UPDATE 2
216
217#define EVENT_TRACE_CONTROL_FLUSH 3
218
219#define TRACE_MESSAGE_SEQUENCE 1
220#define TRACE_MESSAGE_GUID 2
221#define TRACE_MESSAGE_COMPONENTID 4
222#define TRACE_MESSAGE_TIMESTAMP 8
223#define TRACE_MESSAGE_PERFORMANCE_TIMESTAMP 16
224#define TRACE_MESSAGE_SYSTEMINFO 32
225
226#define TRACE_MESSAGE_POINTER32 0x0040
227#define TRACE_MESSAGE_POINTER64 0x0080
228
229#define TRACE_MESSAGE_FLAG_MASK 0xFFFF
230
231#define TRACE_MESSAGE_MAXIMUM_SIZE 8*1024
232
233#define EVENT_TRACE_USE_PROCTIME 0x0001
234#define EVENT_TRACE_USE_NOCPUTIME 0x0002
235
236#define TRACE_HEADER_FLAG_USE_TIMESTAMP 0x00000200
237#define TRACE_HEADER_FLAG_TRACED_GUID 0x00020000
238#define TRACE_HEADER_FLAG_LOG_WNODE 0x00040000
239#define TRACE_HEADER_FLAG_USE_GUID_PTR 0x00080000
240#define TRACE_HEADER_FLAG_USE_MOF_PTR 0x00100000
241
242#define ETW_NULL_TYPE_VALUE 0
243#define ETW_OBJECT_TYPE_VALUE 1
244#define ETW_STRING_TYPE_VALUE 2
245#define ETW_SBYTE_TYPE_VALUE 3
246#define ETW_BYTE_TYPE_VALUE 4
247#define ETW_INT16_TYPE_VALUE 5
248#define ETW_UINT16_TYPE_VALUE 6
249#define ETW_INT32_TYPE_VALUE 7
250#define ETW_UINT32_TYPE_VALUE 8
251#define ETW_INT64_TYPE_VALUE 9
252#define ETW_UINT64_TYPE_VALUE 10
253#define ETW_CHAR_TYPE_VALUE 11
254#define ETW_SINGLE_TYPE_VALUE 12
255#define ETW_DOUBLE_TYPE_VALUE 13
256#define ETW_BOOLEAN_TYPE_VALUE 14
257#define ETW_DECIMAL_TYPE_VALUE 15
258
259#define ETW_GUID_TYPE_VALUE 101
260#define ETW_ASCIICHAR_TYPE_VALUE 102
261#define ETW_ASCIISTRING_TYPE_VALUE 103
262#define ETW_COUNTED_STRING_TYPE_VALUE 104
263#define ETW_POINTER_TYPE_VALUE 105
264#define ETW_SIZET_TYPE_VALUE 106
265#define ETW_HIDDEN_TYPE_VALUE 107
266#define ETW_BOOL_TYPE_VALUE 108
267#define ETW_COUNTED_ANSISTRING_TYPE_VALUE 109
268#define ETW_REVERSED_COUNTED_STRING_TYPE_VALUE 110
269#define ETW_REVERSED_COUNTED_ANSISTRING_TYPE_VALUE 111
270#define ETW_NON_NULL_TERMINATED_STRING_TYPE_VALUE 112
271#define ETW_REDUCED_ANSISTRING_TYPE_VALUE 113
272#define ETW_REDUCED_STRING_TYPE_VALUE 114
273#define ETW_SID_TYPE_VALUE 115
274#define ETW_VARIANT_TYPE_VALUE 116
275#define ETW_PTVECTOR_TYPE_VALUE 117
276#define ETW_WMITIME_TYPE_VALUE 118
277#define ETW_DATETIME_TYPE_VALUE 119
278#define ETW_REFRENCE_TYPE_VALUE 120
279
280#define TRACE_PROVIDER_FLAG_LEGACY 0x00000001
281#define TRACE_PROVIDER_FLAG_PRE_ENABLE 0x00000002
282
283#define EVENT_CONTROL_CODE_DISABLE_PROVIDER 0
284#define EVENT_CONTROL_CODE_ENABLE_PROVIDER 1
285#define EVENT_CONTROL_CODE_CAPTURE_STATE 2
286
287#define DEFINE_TRACE_MOF_FIELD(MOF, ptr, length, type) \
288 (MOF)->DataPtr = (ULONG64)(ULONG_PTR) ptr; \
289 (MOF)->Length = (ULONG) length; \
290 (MOF)->DataType = (ULONG) type;
291
292typedef struct _EVENT_TRACE_HEADER {
294 _ANONYMOUS_UNION union {
296 _ANONYMOUS_STRUCT struct {
301 _ANONYMOUS_UNION union {
303 struct {
312 _ANONYMOUS_UNION union {
316 _ANONYMOUS_UNION union {
317 _ANONYMOUS_STRUCT struct {
322 _ANONYMOUS_STRUCT struct {
328
329#ifndef PEVENT_TRACE_HEADER_DEFINED
330#define PEVENT_TRACE_HEADER_DEFINED
332#endif
333
336 _ANONYMOUS_UNION union {
338 _ANONYMOUS_STRUCT struct {
343 _ANONYMOUS_UNION union {
345 struct {
357 _ANONYMOUS_UNION union {
358 _ANONYMOUS_STRUCT struct {
363 _ANONYMOUS_STRUCT struct {
370
371typedef struct _MOF_FIELD {
376
377typedef struct _EVENT_INSTANCE_INFO {
381
390
391typedef struct _ETW_BUFFER_CONTEXT {
396
397typedef struct _TRACE_ENABLE_INFO {
407
414
415typedef struct _TRACE_GUID_INFO {
419
420typedef struct _EVENT_TRACE {
427 _ANONYMOUS_UNION union {
432
433#if !(defined(_NTDDK_) || defined(_NTIFS_)) || defined(_WMIKM_)
434
435typedef struct _TRACE_LOGFILE_HEADER {
437 _ANONYMOUS_UNION union {
439 struct {
453 _ANONYMOUS_UNION union {
455 _ANONYMOUS_STRUCT struct {
462#if defined(_WMIKM_)
466#else
470#endif
477
480 _ANONYMOUS_UNION union {
482 struct {
496 _ANONYMOUS_UNION union {
498 _ANONYMOUS_STRUCT struct {
505#if defined(_WMIKM_)
509#else
513#endif
520
523 _ANONYMOUS_UNION union {
525 struct {
539 _ANONYMOUS_UNION union {
541 _ANONYMOUS_STRUCT struct {
548#if defined(_WMIKM_)
552#else
556#endif
563
564#endif /* !_NTDDK_ || _WMIKM_ */
565
566#if !defined(_WMIKM_) && !defined(_NTDDK_) && !defined(_NTIFS_)
567
568#define ENABLE_TRACE_PARAMETERS_VERSION 1
569
590
595
596typedef struct _EVENT_RECORD EVENT_RECORD, *PEVENT_RECORD;
599#ifndef _EVNTPROV_
601#endif
602
603typedef ULONG
605 PEVENT_TRACE_LOGFILEW Logfile);
606
607typedef ULONG
609 PEVENT_TRACE_LOGFILEA Logfile);
610
611typedef VOID
613 PEVENT_TRACE pEvent );
614
615typedef VOID
617 PEVENT_RECORD EventRecord);
618
619typedef ULONG
621 IN WMIDPREQUESTCODE RequestCode,
622 IN PVOID RequestContext,
625
631 _ANONYMOUS_UNION union {
641 _ANONYMOUS_UNION union {
647};
648
654 _ANONYMOUS_UNION union {
664 _ANONYMOUS_UNION union {
670};
671
672#if defined(_UNICODE) || defined(UNICODE)
673
674#define PEVENT_TRACE_BUFFER_CALLBACK PEVENT_TRACE_BUFFER_CALLBACKW
675#define EVENT_TRACE_LOGFILE EVENT_TRACE_LOGFILEW
676#define PEVENT_TRACE_LOGFILE PEVENT_TRACE_LOGFILEW
677#define KERNEL_LOGGER_NAME KERNEL_LOGGER_NAMEW
678#define GLOBAL_LOGGER_NAME GLOBAL_LOGGER_NAMEW
679#define EVENT_LOGGER_NAME EVENT_LOGGER_NAMEW
680
681#else
682
683#define PEVENT_TRACE_BUFFER_CALLBACK PEVENT_TRACE_BUFFER_CALLBACKA
684#define EVENT_TRACE_LOGFILE EVENT_TRACE_LOGFILEA
685#define PEVENT_TRACE_LOGFILE PEVENT_TRACE_LOGFILEA
686#define KERNEL_LOGGER_NAME KERNEL_LOGGER_NAMEA
687#define GLOBAL_LOGGER_NAME GLOBAL_LOGGER_NAMEA
688#define EVENT_LOGGER_NAME EVENT_LOGGER_NAMEA
689
690#endif /* defined(_UNICODE) || defined(UNICODE) */
691
699
700typedef struct _CLASSIC_EVENT_ID {
705
713
714#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)(ULONG_PTR)INVALID_HANDLE_VALUE)
715
716#if defined(UNICODE) || defined(_UNICODE)
717
718#define RegisterTraceGuids RegisterTraceGuidsW
719#define StartTrace StartTraceW
720#define ControlTrace ControlTraceW
721
722#if defined(__TRACE_W2K_COMPATIBLE)
723
724#define StopTrace(a,b,c) ControlTraceW((a),(b),(c), EVENT_TRACE_CONTROL_STOP)
725#define QueryTrace(a,b,c) ControlTraceW((a),(b),(c), EVENT_TRACE_CONTROL_QUERY)
726#define UpdateTrace(a,b,c) ControlTraceW((a),(b),(c), EVENT_TRACE_CONTROL_UPDATE)
727
728#else
729
730#define StopTrace StopTraceW
731#define QueryTrace QueryTraceW
732#define UpdateTrace UpdateTraceW
733
734#endif /* defined(__TRACE_W2K_COMPATIBLE) */
735
736#if (NTDDI_VERSION >= NTDDI_WINXP)
737#define FlushTrace FlushTraceW
738#endif
739
740#define QueryAllTraces QueryAllTracesW
741#define OpenTrace OpenTraceW
742
743#else /* defined(UNICODE) || defined(_UNICODE) */
744
745#define RegisterTraceGuids RegisterTraceGuidsA
746#define StartTrace StartTraceA
747#define ControlTrace ControlTraceA
748
749#if defined(__TRACE_W2K_COMPATIBLE)
750
751#define StopTrace(a,b,c) ControlTraceA((a),(b),(c), EVENT_TRACE_CONTROL_STOP)
752#define QueryTrace(a,b,c) ControlTraceA((a),(b),(c), EVENT_TRACE_CONTROL_QUERY)
753#define UpdateTrace(a,b,c) ControlTraceA((a),(b),(c), EVENT_TRACE_CONTROL_UPDATE)
754
755#else
756
757#define StopTrace StopTraceA
758#define QueryTrace QueryTraceA
759#define UpdateTrace UpdateTraceA
760
761#endif /* defined(__TRACE_W2K_COMPATIBLE) */
762
763#if (NTDDI_VERSION >= NTDDI_WINXP)
764#define FlushTrace FlushTraceA
765#endif
766
767#define QueryAllTraces QueryAllTracesA
768#define OpenTrace OpenTraceA
769
770#endif /* defined(UNICODE) || defined(_UNICODE) */
771
773ULONG
774WMIAPI
776 OUT PTRACEHANDLE TraceHandle,
778 IN OUT PEVENT_TRACE_PROPERTIES Properties);
779
781ULONG
782WMIAPI
784 OUT PTRACEHANDLE TraceHandle,
786 IN OUT PEVENT_TRACE_PROPERTIES Properties);
787
789ULONG
790WMIAPI
792 IN TRACEHANDLE TraceHandle,
794 IN OUT PEVENT_TRACE_PROPERTIES Properties);
795
797ULONG
798WMIAPI
800 IN TRACEHANDLE TraceHandle,
802 IN OUT PEVENT_TRACE_PROPERTIES Properties);
803
805ULONG
806WMIAPI
808 IN TRACEHANDLE TraceHandle,
810 IN OUT PEVENT_TRACE_PROPERTIES Properties);
811
813ULONG
814WMIAPI
816 IN TRACEHANDLE TraceHandle,
818 IN OUT PEVENT_TRACE_PROPERTIES Properties);
819
821ULONG
822WMIAPI
824 IN TRACEHANDLE TraceHandle,
826 IN OUT PEVENT_TRACE_PROPERTIES Properties);
827
829ULONG
830WMIAPI
832 IN TRACEHANDLE TraceHandle,
834 IN OUT PEVENT_TRACE_PROPERTIES Properties);
835
837ULONG
838WMIAPI
840 IN TRACEHANDLE TraceHandle,
842 IN OUT PEVENT_TRACE_PROPERTIES Properties,
844
846ULONG
847WMIAPI
849 IN TRACEHANDLE TraceHandle,
851 IN OUT PEVENT_TRACE_PROPERTIES Properties,
853
855ULONG
856WMIAPI
858 OUT PEVENT_TRACE_PROPERTIES *PropertyArray,
859 IN ULONG PropertyArrayCount,
860 OUT PULONG LoggerCount);
861
863ULONG
864WMIAPI
866 OUT PEVENT_TRACE_PROPERTIES *PropertyArray,
867 IN ULONG PropertyArrayCount,
868 OUT PULONG LoggerCount);
869
871ULONG
872WMIAPI
875 IN ULONG EnableFlag,
876 IN ULONG EnableLevel,
877 IN LPCGUID ControlGuid,
878 IN TRACEHANDLE TraceHandle);
879
881ULONG
882WMIAPI
885 IN OUT PEVENT_INSTANCE_INFO InstInfo);
886
888ULONG
889WMIAPI
891 IN TRACEHANDLE TraceHandle,
892 IN PEVENT_TRACE_HEADER EventTrace);
893
895ULONG
896WMIAPI
898 IN TRACEHANDLE TraceHandle,
899 IN PEVENT_INSTANCE_HEADER EventTrace,
900 IN PEVENT_INSTANCE_INFO InstInfo,
901 IN PEVENT_INSTANCE_INFO ParentInstInfo OPTIONAL);
902
904ULONG
905WMIAPI
907 IN WMIDPREQUEST RequestAddress,
908 IN PVOID RequestContext OPTIONAL,
909 IN LPCGUID ControlGuid,
910 IN ULONG GuidCount,
912 IN LPCWSTR MofImagePath OPTIONAL,
915
917ULONG
918WMIAPI
920 IN WMIDPREQUEST RequestAddress,
921 IN PVOID RequestContext OPTIONAL,
922 IN LPCGUID ControlGuid,
923 IN ULONG GuidCount,
925 IN LPCSTR MofImagePath OPTIONAL,
928
930ULONG
931WMIAPI
934
937WMIAPI
939 IN PVOID Buffer);
940
942UCHAR
943WMIAPI
945 IN TRACEHANDLE TraceHandle);
946
948ULONG
949WMIAPI
951 IN TRACEHANDLE TraceHandle);
952
955WMIAPI
958
961WMIAPI
964
966ULONG
967WMIAPI
969 IN PTRACEHANDLE HandleArray,
970 IN ULONG HandleCount,
972 IN LPFILETIME EndTime OPTIONAL);
973
975ULONG
976WMIAPI
978 IN TRACEHANDLE TraceHandle);
979
981ULONG
982WMIAPI
984 IN LPCGUID pGuid,
986
988ULONG
989WMIAPI
991 IN LPCGUID pGuid);
992
994ULONG
997 IN TRACEHANDLE LoggerHandle,
998 IN ULONG MessageFlags,
999 IN LPCGUID MessageGuid,
1001 ...);
1002
1004ULONG
1005WMIAPI
1007 IN TRACEHANDLE LoggerHandle,
1008 IN ULONG MessageFlags,
1009 IN LPCGUID MessageGuid,
1011 IN va_list MessageArgList);
1012
1013#if (WINVER >= _WIN32_WINNT_WINXP)
1014
1016ULONG
1017WMIAPI
1019 IN OUT PTRACE_GUID_PROPERTIES *GuidPropertiesArray,
1020 IN ULONG PropertyArrayCount,
1021 OUT PULONG GuidCount);
1022
1024ULONG
1025WMIAPI
1027 IN TRACEHANDLE TraceHandle,
1029 IN OUT PEVENT_TRACE_PROPERTIES Properties);
1030
1032ULONG
1033WMIAPI
1035 IN TRACEHANDLE TraceHandle,
1037 IN OUT PEVENT_TRACE_PROPERTIES Properties);
1038
1039#endif /* (WINVER >= _WIN32_WINNT_WINXP) */
1040
1041#if (WINVER >= _WIN32_WINNT_VISTA)
1042
1044ULONG
1045WMIAPI
1047 IN LPCGUID ProviderId,
1048 IN LPCGUID SourceId OPTIONAL,
1049 IN TRACEHANDLE TraceHandle,
1051 IN UCHAR Level,
1054 IN ULONG EnableProperty,
1055 IN PEVENT_FILTER_DESCRIPTOR EnableFilterDesc OPTIONAL);
1056
1058ULONG
1059WMIAPI
1061 IN TRACE_QUERY_INFO_CLASS TraceQueryInfoClass,
1062 IN PVOID InBuffer OPTIONAL,
1067
1068#endif /* (WINVER >= _WIN32_WINNT_VISTA) */
1069
1070#if (WINVER >= _WIN32_WINNT_WIN7)
1071
1073ULONG
1074WMIAPI
1076 IN TRACEHANDLE TraceHandle,
1077 IN LPCGUID ProviderId,
1079 IN UCHAR Level,
1083 IN PENABLE_TRACE_PARAMETERS EnableParameters OPTIONAL);
1084
1086ULONG
1087WMIAPI
1089 IN TRACEHANDLE SessionHandle,
1091 IN PVOID TraceInformation,
1092 IN ULONG InformationLength);
1093
1094#endif /* (WINVER >= _WIN32_WINNT_WIN7) */
1095
1096#endif /* !defined(_WMIKM_) && !defined(_NTDDK_) && !defined(_NTIFS_) */
1097
1098#ifdef __cplusplus
1099} /* extern "C" */
1100#endif
unsigned char BOOLEAN
#define __cdecl
Definition: accygwin.h:79
#define VOID
Definition: acefi.h:82
char * va_list
Definition: acmsvcex.h:78
unsigned int ULONG32
Definition: basetsd.h:123
#define EXTERN_C
Definition: basetyps.h:12
Definition: bufpool.h:45
#define BufferSize
Definition: mmc.h:75
VOID CALLBACK EventCallback(IN PVOID MixerEventContext, IN HANDLE hMixer, IN ULONG NotificationType, IN ULONG Value)
Definition: mmixer.c:333
IN CINT OUT PVOID IN ULONG OUT PULONG ReturnLength
Definition: dumpinfo.c:43
struct _EVENT_TRACE_PROPERTIES EVENT_TRACE_PROPERTIES
struct _TRACE_PROVIDER_INSTANCE_INFO * PTRACE_PROVIDER_INSTANCE_INFO
EXTERN_C ULONG WMIAPI StartTraceW(OUT PTRACEHANDLE TraceHandle, IN LPCWSTR InstanceName, IN OUT PEVENT_TRACE_PROPERTIES Properties)
EXTERN_C ULONG WMIAPI QueryAllTracesA(OUT PEVENT_TRACE_PROPERTIES *PropertyArray, IN ULONG PropertyArrayCount, OUT PULONG LoggerCount)
struct _EVENT_TRACE_PROPERTIES * PEVENT_TRACE_PROPERTIES
EXTERN_C ULONG WMIAPI UpdateTraceA(IN TRACEHANDLE TraceHandle, IN LPCSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
EXTERN_C ULONG WMIAPI RegisterTraceGuidsW(IN WMIDPREQUEST RequestAddress, IN PVOID RequestContext OPTIONAL, IN LPCGUID ControlGuid, IN ULONG GuidCount, IN PTRACE_GUID_REGISTRATION TraceGuidReg OPTIONAL, IN LPCWSTR MofImagePath OPTIONAL, IN LPCWSTR MofResourceName OPTIONAL, OUT PTRACEHANDLE RegistrationHandle)
EXTERN_C ULONG WMIAPI QueryTraceA(IN TRACEHANDLE TraceHandle, IN LPCSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
EXTERN_C ULONG WMIAPI TraceSetInformation(IN TRACEHANDLE SessionHandle, IN TRACE_INFO_CLASS InformationClass, IN PVOID TraceInformation, IN ULONG InformationLength)
EXTERN_C ULONG WMIAPI TraceEvent(IN TRACEHANDLE TraceHandle, IN PEVENT_TRACE_HEADER EventTrace)
EXTERN_C ULONG WMIAPI CreateTraceInstanceId(IN HANDLE RegHandle, IN OUT PEVENT_INSTANCE_INFO InstInfo)
struct _TRACE_GUID_REGISTRATION TRACE_GUID_REGISTRATION
struct _TRACE_GUID_INFO TRACE_GUID_INFO
struct _EVENT_INSTANCE_INFO EVENT_INSTANCE_INFO
EXTERN_C ULONG WMIAPI ProcessTrace(IN PTRACEHANDLE HandleArray, IN ULONG HandleCount, IN LPFILETIME StartTime OPTIONAL, IN LPFILETIME EndTime OPTIONAL)
Definition: evntrace.c:35
EXTERN_C UCHAR WMIAPI GetTraceEnableLevel(IN TRACEHANDLE TraceHandle)
ULONG(WINAPI * PEVENT_TRACE_BUFFER_CALLBACKW)(PEVENT_TRACE_LOGFILEW Logfile)
Definition: evntrace.h:604
#define WMIAPI
Definition: evntrace.h:10
VOID(WINAPI * PEVENT_CALLBACK)(PEVENT_TRACE pEvent)
Definition: evntrace.h:612
struct _TRACE_LOGFILE_HEADER TRACE_LOGFILE_HEADER
EXTERN_C ULONG WMIAPI StopTraceW(IN TRACEHANDLE TraceHandle, IN LPCWSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
EXTERN_C ULONG WMIAPI TraceMessageVa(IN TRACEHANDLE LoggerHandle, IN ULONG MessageFlags, IN LPCGUID MessageGuid, IN USHORT MessageNumber, IN va_list MessageArgList)
struct _TRACE_ENABLE_INFO * PTRACE_ENABLE_INFO
struct _MOF_FIELD * PMOF_FIELD
struct _CLASSIC_EVENT_ID CLASSIC_EVENT_ID
struct _TRACE_LOGFILE_HEADER32 TRACE_LOGFILE_HEADER32
ULONG(WINAPI * WMIDPREQUEST)(IN WMIDPREQUESTCODE RequestCode, IN PVOID RequestContext, IN OUT ULONG *BufferSize, IN OUT PVOID Buffer)
Definition: evntrace.h:620
struct _EVENT_TRACE_HEADER * PEVENT_TRACE_HEADER
Definition: evntrace.h:331
EXTERN_C TRACEHANDLE WMIAPI OpenTraceA(IN OUT PEVENT_TRACE_LOGFILEA Logfile)
struct _EVENT_RECORD * PEVENT_RECORD
Definition: evntrace.h:596
struct _TRACE_GUID_REGISTRATION * PTRACE_GUID_REGISTRATION
VOID(WINAPI * PEVENT_RECORD_CALLBACK)(PEVENT_RECORD EventRecord)
Definition: evntrace.h:616
struct _TRACE_GUID_INFO * PTRACE_GUID_INFO
EXTERN_C ULONG WMIAPI EnumerateTraceGuids(IN OUT PTRACE_GUID_PROPERTIES *GuidPropertiesArray, IN ULONG PropertyArrayCount, OUT PULONG GuidCount)
EXTERN_C ULONG WMIAPI EnableTrace(IN ULONG Enable, IN ULONG EnableFlag, IN ULONG EnableLevel, IN LPCGUID ControlGuid, IN TRACEHANDLE TraceHandle)
_TRACE_QUERY_INFO_CLASS
Definition: evntrace.h:692
@ TraceGuidQueryList
Definition: evntrace.h:693
@ TraceStackTracingInfo
Definition: evntrace.h:696
@ MaxTraceSetInfoClass
Definition: evntrace.h:697
@ TraceGuidQueryInfo
Definition: evntrace.h:694
@ TraceGuidQueryProcess
Definition: evntrace.h:695
EXTERN_C ULONG WMIAPI RegisterTraceGuidsA(IN WMIDPREQUEST RequestAddress, IN PVOID RequestContext OPTIONAL, IN LPCGUID ControlGuid, IN ULONG GuidCount, IN PTRACE_GUID_REGISTRATION TraceGuidReg OPTIONAL, IN LPCSTR MofImagePath OPTIONAL, IN LPCSTR MofResourceName OPTIONAL, OUT PTRACEHANDLE RegistrationHandle)
struct _TRACE_LOGFILE_HEADER * PTRACE_LOGFILE_HEADER
EXTERN_C ULONG WMIAPI EnableTraceEx(IN LPCGUID ProviderId, IN LPCGUID SourceId OPTIONAL, IN TRACEHANDLE TraceHandle, IN ULONG IsEnabled, IN UCHAR Level, IN ULONGLONG MatchAnyKeyword, IN ULONGLONG MatchAllKeyword, IN ULONG EnableProperty, IN PEVENT_FILTER_DESCRIPTOR EnableFilterDesc OPTIONAL)
EXTERN_C ULONG WMIAPI UpdateTraceW(IN TRACEHANDLE TraceHandle, IN LPCWSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
struct _ENABLE_TRACE_PARAMETERS * PENABLE_TRACE_PARAMETERS
EXTERN_C ULONG WMIAPI GetTraceEnableFlags(IN TRACEHANDLE TraceHandle)
struct _EVENT_RECORD EVENT_RECORD
Definition: evntrace.h:596
enum _TRACE_QUERY_INFO_CLASS TRACE_QUERY_INFO_CLASS
EXTERN_C ULONG __cdecl TraceMessage(IN TRACEHANDLE LoggerHandle, IN ULONG MessageFlags, IN LPCGUID MessageGuid, IN USHORT MessageNumber,...)
EXTERN_C ULONG WMIAPI QueryTraceW(IN TRACEHANDLE TraceHandle, IN LPCWSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
struct _TRACE_GUID_PROPERTIES * PTRACE_GUID_PROPERTIES
struct _EVENT_TRACE_LOGFILEA * PEVENT_TRACE_LOGFILEA
Definition: evntrace.h:598
struct _EVENT_FILTER_DESCRIPTOR * PEVENT_FILTER_DESCRIPTOR
Definition: evntrace.h:600
struct _EVENT_INSTANCE_HEADER * PEVENT_INSTANCE_HEADER
EXTERN_C ULONG WMIAPI EnableTraceEx2(IN TRACEHANDLE TraceHandle, IN LPCGUID ProviderId, IN ULONG ControlCode, IN UCHAR Level, IN ULONGLONG MatchAnyKeyword, IN ULONGLONG MatchAllKeyword, IN ULONG Timeout, IN PENABLE_TRACE_PARAMETERS EnableParameters OPTIONAL)
EXTERN_C ULONG WMIAPI RemoveTraceCallback(IN LPCGUID pGuid)
struct _ENABLE_TRACE_PARAMETERS ENABLE_TRACE_PARAMETERS
EXTERN_C ULONG WMIAPI EnumerateTraceGuidsEx(IN TRACE_QUERY_INFO_CLASS TraceQueryInfoClass, IN PVOID InBuffer OPTIONAL, IN ULONG InBufferSize, OUT PVOID OutBuffer OPTIONAL, IN ULONG OutBufferSize, OUT PULONG ReturnLength)
struct _EVENT_TRACE EVENT_TRACE
EXTERN_C ULONG WMIAPI TraceEventInstance(IN TRACEHANDLE TraceHandle, IN PEVENT_INSTANCE_HEADER EventTrace, IN PEVENT_INSTANCE_INFO InstInfo, IN PEVENT_INSTANCE_INFO ParentInstInfo OPTIONAL)
EXTERN_C ULONG WMIAPI FlushTraceA(IN TRACEHANDLE TraceHandle, IN LPCSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
struct _TRACE_PROVIDER_INSTANCE_INFO TRACE_PROVIDER_INSTANCE_INFO
struct _TRACE_LOGFILE_HEADER32 * PTRACE_LOGFILE_HEADER32
EXTERN_C ULONG WMIAPI UnregisterTraceGuids(IN TRACEHANDLE RegistrationHandle)
struct _EVENT_INSTANCE_INFO * PEVENT_INSTANCE_INFO
EXTERN_C TRACEHANDLE WMIAPI OpenTraceW(IN OUT PEVENT_TRACE_LOGFILEW Logfile)
enum _TRACE_QUERY_INFO_CLASS TRACE_INFO_CLASS
struct _EVENT_TRACE * PEVENT_TRACE
ULONG(WINAPI * PEVENT_TRACE_BUFFER_CALLBACKA)(PEVENT_TRACE_LOGFILEA Logfile)
Definition: evntrace.h:608
struct _EVENT_INSTANCE_HEADER EVENT_INSTANCE_HEADER
struct _CLASSIC_EVENT_ID * PCLASSIC_EVENT_ID
EXTERN_C ULONG WMIAPI StartTraceA(OUT PTRACEHANDLE TraceHandle, IN LPCSTR InstanceName, IN OUT PEVENT_TRACE_PROPERTIES Properties)
EXTERN_C ULONG WMIAPI ControlTraceW(IN TRACEHANDLE TraceHandle, IN LPCWSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties, IN ULONG ControlCode)
EXTERN_C ULONG WMIAPI FlushTraceW(IN TRACEHANDLE TraceHandle, IN LPCWSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
struct _TRACE_LOGFILE_HEADER64 * PTRACE_LOGFILE_HEADER64
EXTERN_C TRACEHANDLE WMIAPI GetTraceLoggerHandle(IN PVOID Buffer)
ULONG64 TRACEHANDLE
Definition: evntrace.h:40
struct _ETW_BUFFER_CONTEXT * PETW_BUFFER_CONTEXT
EXTERN_C ULONG WMIAPI ControlTraceA(IN TRACEHANDLE TraceHandle, IN LPCSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties, IN ULONG ControlCode)
struct _TRACE_LOGFILE_HEADER64 TRACE_LOGFILE_HEADER64
struct _TRACE_GUID_PROPERTIES TRACE_GUID_PROPERTIES
struct _EVENT_TRACE_LOGFILEW * PEVENT_TRACE_LOGFILEW
Definition: evntrace.h:597
struct _TRACE_ENABLE_INFO TRACE_ENABLE_INFO
ULONG64 * PTRACEHANDLE
Definition: evntrace.h:40
EXTERN_C ULONG WMIAPI SetTraceCallback(IN LPCGUID pGuid, IN PEVENT_CALLBACK EventCallback)
struct _MOF_FIELD MOF_FIELD
struct _ETW_BUFFER_CONTEXT ETW_BUFFER_CONTEXT
EXTERN_C ULONG WMIAPI StopTraceA(IN TRACEHANDLE TraceHandle, IN LPCSTR InstanceName OPTIONAL, IN OUT PEVENT_TRACE_PROPERTIES Properties)
struct _EVENT_TRACE_HEADER EVENT_TRACE_HEADER
EXTERN_C ULONG WMIAPI QueryAllTracesW(OUT PEVENT_TRACE_PROPERTIES *PropertyArray, IN ULONG PropertyArrayCount, OUT PULONG LoggerCount)
_Must_inspect_result_ _Inout_ PFLT_VOLUME _In_opt_ PCUNICODE_STRING InstanceName
Definition: fltkernel.h:1163
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1713
return pProvider IsEnabled(ProviderControl)
static LARGE_INTEGER StartTime
Definition: sys_arch.c:13
void CloseTrace(void)
Definition: trace.c:159
unsigned __int64 ULONG64
Definition: imports.h:198
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
#define _ANONYMOUS_STRUCT
Definition: ntbasedef.h:56
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:142
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
static ULONG Timeout
Definition: ping.c:61
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
Definition: scsi.h:4071
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
PEVENT_FILTER_DESCRIPTOR EnableFilterDesc
Definition: evntrace.h:711
_ANONYMOUS_STRUCT struct _EVENT_INSTANCE_HEADER::@2940::@2943 DUMMYSTRUCTNAME
LARGE_INTEGER TimeStamp
Definition: evntrace.h:353
_ANONYMOUS_UNION union _EVENT_INSTANCE_HEADER::@2941 DUMMYUNIONNAME2
_ANONYMOUS_UNION union _EVENT_INSTANCE_HEADER::@2940 DUMMYUNIONNAME
_ANONYMOUS_UNION union _EVENT_INSTANCE_HEADER::@2942 DUMMYUNIONNAME3
ULONGLONG ParentRegHandle
Definition: evntrace.h:368
struct _EVENT_INSTANCE_HEADER::@2941::@2944 Class
_ANONYMOUS_STRUCT struct _EVENT_INSTANCE_HEADER::@2942::@2946 DUMMYSTRUCTNAME2
ULONG64 ProcessorTime
Definition: evntrace.h:321
struct _EVENT_TRACE_HEADER::@2933::@2937 Class
_ANONYMOUS_STRUCT struct _EVENT_TRACE_HEADER::@2932::@2936 DUMMYSTRUCTNAME
_ANONYMOUS_UNION union _EVENT_TRACE_HEADER::@2933 DUMMYUNIONNAME2
USHORT FieldTypeFlags
Definition: evntrace.h:295
LARGE_INTEGER TimeStamp
Definition: evntrace.h:311
_ANONYMOUS_UNION union _EVENT_TRACE_HEADER::@2932 DUMMYUNIONNAME
_ANONYMOUS_STRUCT struct _EVENT_TRACE_HEADER::@2935::@2939 DUMMYSTRUCTNAME2
_ANONYMOUS_UNION union _EVENT_TRACE_HEADER::@2934 DUMMYUNIONNAME3
ULONGLONG GuidPtr
Definition: evntrace.h:314
_ANONYMOUS_UNION union _EVENT_TRACE_HEADER::@2935 DUMMYUNIONNAME4
EVENT_TRACE CurrentEvent
Definition: evntrace.h:658
LONGLONG CurrentTime
Definition: evntrace.h:652
PEVENT_TRACE_BUFFER_CALLBACKA BufferCallback
Definition: evntrace.h:660
TRACE_LOGFILE_HEADER LogfileHeader
Definition: evntrace.h:659
PEVENT_RECORD_CALLBACK EventRecordCallback
Definition: evntrace.h:666
PEVENT_CALLBACK EventCallback
Definition: evntrace.h:665
_ANONYMOUS_UNION union _EVENT_TRACE_LOGFILEA::@2962 DUMMYUNIONNAME
_ANONYMOUS_UNION union _EVENT_TRACE_LOGFILEA::@2963 DUMMYUNIONNAME2
PEVENT_TRACE_BUFFER_CALLBACKW BufferCallback
Definition: evntrace.h:637
_ANONYMOUS_UNION union _EVENT_TRACE_LOGFILEW::@2960 DUMMYUNIONNAME
TRACE_LOGFILE_HEADER LogfileHeader
Definition: evntrace.h:636
PEVENT_RECORD_CALLBACK EventRecordCallback
Definition: evntrace.h:643
PEVENT_CALLBACK EventCallback
Definition: evntrace.h:642
_ANONYMOUS_UNION union _EVENT_TRACE_LOGFILEW::@2961 DUMMYUNIONNAME2
EVENT_TRACE CurrentEvent
Definition: evntrace.h:635
LONGLONG CurrentTime
Definition: evntrace.h:629
WNODE_HEADER Wnode
Definition: evntrace.h:571
ULONG InstanceId
Definition: evntrace.h:422
ULONG MofLength
Definition: evntrace.h:426
ETW_BUFFER_CONTEXT BufferContext
Definition: evntrace.h:429
EVENT_TRACE_HEADER Header
Definition: evntrace.h:421
ULONG ClientContext
Definition: evntrace.h:428
PVOID MofData
Definition: evntrace.h:425
GUID ParentGuid
Definition: evntrace.h:424
_ANONYMOUS_UNION union _EVENT_TRACE::@2947 DUMMYUNIONNAME
ULONG ParentInstanceId
Definition: evntrace.h:423
ULONG DataType
Definition: evntrace.h:374
ULONG64 DataPtr
Definition: evntrace.h:372
ULONG Length
Definition: evntrace.h:373
ULONGLONG MatchAnyKeyword
Definition: evntrace.h:404
ULONG EnableProperty
Definition: evntrace.h:402
ULONGLONG MatchAllKeyword
Definition: evntrace.h:405
ULONG InstanceCount
Definition: evntrace.h:416
struct _TRACE_LOGFILE_HEADER32::@2952::@2954 VersionDetail
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER32::@2953 DUMMYUNIONNAME2
TIME_ZONE_INFORMATION TimeZone
Definition: evntrace.h:512
LARGE_INTEGER StartTime
Definition: evntrace.h:516
_ANONYMOUS_STRUCT struct _TRACE_LOGFILE_HEADER32::@2953::@2955 DUMMYSTRUCTNAME
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER32::@2952 DUMMYUNIONNAME
LARGE_INTEGER EndTime
Definition: evntrace.h:491
LARGE_INTEGER PerfFreq
Definition: evntrace.h:515
LARGE_INTEGER BootTime
Definition: evntrace.h:514
TIME_ZONE_INFORMATION TimeZone
Definition: evntrace.h:555
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER64::@2957 DUMMYUNIONNAME2
LARGE_INTEGER PerfFreq
Definition: evntrace.h:558
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER64::@2956 DUMMYUNIONNAME
_ANONYMOUS_STRUCT struct _TRACE_LOGFILE_HEADER64::@2957::@2959 DUMMYSTRUCTNAME
LARGE_INTEGER BootTime
Definition: evntrace.h:557
LARGE_INTEGER EndTime
Definition: evntrace.h:534
LARGE_INTEGER StartTime
Definition: evntrace.h:559
struct _TRACE_LOGFILE_HEADER64::@2956::@2958 VersionDetail
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER::@2948 DUMMYUNIONNAME
_ANONYMOUS_STRUCT struct _TRACE_LOGFILE_HEADER::@2949::@2951 DUMMYSTRUCTNAME
LARGE_INTEGER StartTime
Definition: evntrace.h:473
LARGE_INTEGER BootTime
Definition: evntrace.h:471
_ANONYMOUS_UNION union _TRACE_LOGFILE_HEADER::@2949 DUMMYUNIONNAME2
TIME_ZONE_INFORMATION TimeZone
Definition: evntrace.h:469
struct _TRACE_LOGFILE_HEADER::@2948::@2950 VersionDetail
LARGE_INTEGER PerfFreq
Definition: evntrace.h:472
LARGE_INTEGER EndTime
Definition: evntrace.h:448
uint32_t * PULONG
Definition: typedefs.h:59
int64_t LONGLONG
Definition: typedefs.h:68
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING MofResourceName
Definition: wdfdevice.h:2464
_In_ ULONG OutBufferSize
Definition: wdfwmi.h:87
_In_ ULONG InBufferSize
Definition: wdfwmi.h:106
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6
_In_opt_ PETWENABLECALLBACK _In_opt_ PVOID _Out_ PREGHANDLE RegHandle
Definition: wmifuncs.h:78
WMIDPREQUESTCODE
Definition: wmistr.h:146
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG MatchAnyKeyword
Definition: wmitypes.h:57
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR _In_ ULONGLONG _In_ ULONGLONG MatchAllKeyword
Definition: wmitypes.h:58
_IRQL_requires_same_ typedef _In_ ULONG ControlCode
Definition: wmitypes.h:55
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
_Must_inspect_result_ typedef _In_ ULONG _In_ ULONG MessageNumber
Definition: iotypes.h:4304
_Outptr_ PVOID * RegistrationHandle
Definition: obfuncs.h:138
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
unsigned char UCHAR
Definition: xmlstorage.h:181
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185