Share via


ETW_BUFFER_CONTEXT struttura (evntrace.h)

La struttura ETW_BUFFER_CONTEXT fornisce informazioni di contesto sull'evento. Un'istanza della struttura ETW_BUFFER_CONTEXT è inclusa nelle strutture EVENT_RECORD e EVENT_TRACE.

Sintassi

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

Numero della CPU in cui è in esecuzione il processo del provider. Il numero è zero in un computer a processore singolo.

DUMMYUNIONNAME.DUMMYSTRUCTNAME.Alignment

Allineamento tra eventi (sempre otto).

DUMMYUNIONNAME.ProcessorIndex

LoggerId

Identificatore della sessione che ha registrato l'evento.

Requisiti

   
Client minimo supportato Windows Vista [solo app desktop]
Server minimo supportato Windows Server 2008 [solo app desktop]
Intestazione evntrace.h (include Evntrace.h)

Vedi anche

EVENT_RECORD

EVENT_TRACE