// storport.h
typedef enum _STORPORT_ETW_LEVEL {
StorportEtwLevelLogAlways = 0,
StorportEtwLevelCritical = 1,
StorportEtwLevelError = 2,
StorportEtwLevelWarning = 3,
StorportEtwLevelInformational = 4,
StorportEtwLevelVerbose = 5,
StorportEtwLevelMax
} STORPORT_ETW_LEVEL, *PSTORPORT_ETW_LEVEL;
View the official Windows Driver Kit DDI referenceNo description available.
The STORPORT_ETW_LEVEL enumeration defines the level of importance or severity of an ETW event.
StorportEtwLevelLogAlways:0Log the event unconditionally. An event with this level is logged without any throttling.
StorportEtwLevelCritical:1Indicates a critical condition that could cause severe problems such as a system crash. An event with this level is logged without any throttling.
StorportEtwLevelError:2Indicates an error condition. Events at this level are throttled at the specific device instance at which the miniport event is targeted. There's an upper limit on the count of events per hour at the device instance.
StorportEtwLevelWarning:3Indicates a potential issue or something unexpected. Like error-level events, warning-level events are throttled at the specific device instance level.
StorportEtwLevelInformational:4Indicates an informational event, such as status. Informational events are also throttled at the specific device instance level.
StorportEtwLevelVerbose:5Indicates that the event provides detailed tracing information, typically for debugging purposes. Verbose-level events aren't throttled.
StorportEtwLevelMaxMaximum value for the enumeration.