ETW_BUFFER_CALLBACK_INFORMATION structure (evntrace.h)

Provided to the BufferCallback as the ConsumerInfo parameter and provides details on the current processing session.

Syntax

typedef struct ETW_BUFFER_CALLBACK_INFORMATION {
  PROCESSTRACE_HANDLE        TraceHandle;
  const TRACE_LOGFILE_HEADER *LogfileHeader;
  ULONG                      BuffersRead;
} ETW_BUFFER_CALLBACK_INFORMATION;

Members

TraceHandle

The TraceHandle for this processing session.

LogfileHeader

TRACE_LOGFILE_HEADER structure containing trace processing status (previously-existing structure).

BuffersRead

The count of how many buffers have been processed up to this point.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header evntrace.h