GetEventProcessorIndex 函数 (evntcons.h)

检索事件处理程序索引。

语法

EVNTCONS_INLINE ULONG GetEventProcessorIndex(
  PCEVENT_RECORD EventRecord
);

参数

EventRecord

EVENT_RECORD。

返回值

从提供的 EventRecord的 ETW_BUFFER_CONTEXTBufferContext 成员返回 ProcessorIndex 或 ProcessorNumber。

要求

要求 价值
最低支持的客户端 Windows Vista [仅限桌面应用]
支持的最低服务器 Windows Server 2008 [仅限桌面应用]
目标平台 窗户
标头 evntcons.h