GetEventProcessorIndex function (evntcons.h)

Retrieves the Event Processor index.

Syntax

EVNTCONS_INLINE ULONG GetEventProcessorIndex(
  PCEVENT_RECORD EventRecord
);

Parameters

EventRecord

The EVENT_RECORD.

Return value

Returns the ProcessorIndex or ProcessorNumber from the ETW_BUFFER_CONTEXT BufferContext member of the provided EventRecord.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evntcons.h