// wdtf.h
typedef enum __MIDL___MIDL_itf_wdtf_0000_0001_0001 {
Trace0_Off,
Trace1_Low,
Trace2_Medium,
Trace3_High,
Trace4_All,
Trace5_Custom,
Trace6_Custom,
Trace7_Custom,
Trace8_Custom,
Trace_Default
} TTraceLevel;
View the official Windows Driver Kit DDI referenceNo description available.
The TTraceLevel enumeration defines a set of levels for tracing in WDTF. The meaning on each level depends on registry settings for the ITracer interface.
Trace0_OffTracing is off.
Trace1_LowThe tracing level is low. Generally, only the top layer of traces and failure and warning information is traced.
Trace2_MediumThe tracing level is medium. This level is the default level. It includes all of the traces in Trace1_Low plus standard traces at all layers of WDTF.
Trace3_HighThe tracing level is high. This level includes all of the traces in Trace2_Medium plus noisy traces at all layers of WDTF.
Trace4_AllAll tracing is enabled. Currently, this tracing level is the same as Trace3_High.
Trace5_CustomA custom trace level. Currently, this value is set to Trace0_Off.
Trace6_CustomA custom trace level. Currently, this value is set to Trace0_Off.
Trace7_CustomA custom trace level. Currently, this value is set to Trace0_Off.
Trace8_CustomA custom trace level. Currently, this value is set to Trace0_Off.
Trace_DefaultThe default tracing level. This level tells the ITracer interface to look for the actual level in the registry. ITracer will look in the TraceLevel path for the implementation that you called the ITracing::SetTraceLevel method on. For most implementations, this value is set to Trace2_Medium when you install WDTF.
Use the ITracing::SetTraceLevel method to change the trace level of an instance of a WDTF interface at runtime. For more information about how to change the registry default values, see ITracer.