SYSTEM_CONTEXT_SWITCH_INFORMATION

The SYSTEM_CONTEXT_SWITCH_INFORMATION structure is what a successful call to ZwQuerySystemInformation or NtQuerySystemInformation produces in its output buffer when given the information class SystemContextSwitchInformation (0x24).

Documentation Status

The SYSTEM_CONTEXT_SWITCH_INFORMATION structure is not documented.

Layout

The SYSTEM_CONTEXT_SWITCH_INFORMATION is 0x30 bytes in both 32-bit and 64-bit Windows.

Offset Definition
0x00
ULONG ContextSwitches;
0x04
ULONG FindAny;
0x08
ULONG FindLast;
0x0C
ULONG FindIdeal;
0x10
ULONG IdleAny;
0x14
ULONG IdleCurrent;
0x18
ULONG IdleLast;
0x1C
ULONG IdleIdeal;
0x20
ULONG PreemptAny;
0x24
ULONG PreemptCurrent;
0x28
ULONG PreemptLast;
0x2C
ULONG SwitchToIdle;