ETW_BUFFER_CONTEXT structure

The ETW_BUFFER_CONTEXT structure provides context information about the event.

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

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header relogger.h (include Evntrace.h)
## See Also

    <a href="https://docs.microsoft.com/windows/desktop/api/evntcons/ns-evntcons-event_record">EVENT_RECORD</a>