ETW_BUFFER_CONTEXT structure (evntrace.h)
The ETW_BUFFER_CONTEXT structure provides context information about the event. An instance of the ETW_BUFFER_CONTEXT structure is included in the EVENT_RECORD and EVENT_TRACE structures.
Syntax
typedef struct _ETW_BUFFER_CONTEXT {
union {
struct {
UCHAR ProcessorNumber;
UCHAR Alignment;
} DUMMYSTRUCTNAME;
USHORT ProcessorIndex;
} DUMMYUNIONNAME;
USHORT LoggerId;
} ETW_BUFFER_CONTEXT, *PETW_BUFFER_CONTEXT;
Members
DUMMYUNIONNAME
DUMMYUNIONNAME.DUMMYSTRUCTNAME
DUMMYUNIONNAME.DUMMYSTRUCTNAME.ProcessorNumber
The number of the CPU on which the provider process was running. The number is zero on a single-processor computer.
DUMMYUNIONNAME.DUMMYSTRUCTNAME.Alignment
Alignment between events (always eight).
DUMMYUNIONNAME.ProcessorIndex
LoggerId
Identifier of the session that logged the event.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | evntrace.h (include Evntrace.h) |