WHEA_X86_REGISTER_STATE structure (ntddk.h)

The WHEA_X86_REGISTER_STATE structure describes the state of an x86 processor's registers.

Syntax

typedef struct _WHEA_X86_REGISTER_STATE {
  ULONG     Eax;
  ULONG     Ebx;
  ULONG     Ecx;
  ULONG     Edx;
  ULONG     Esi;
  ULONG     Edi;
  ULONG     Ebp;
  ULONG     Esp;
  USHORT    Cs;
  USHORT    Ds;
  USHORT    Ss;
  USHORT    Es;
  USHORT    Fs;
  USHORT    Gs;
  ULONG     Eflags;
  ULONG     Eip;
  ULONG     Cr0;
  ULONG     Cr1;
  ULONG     Cr2;
  ULONG     Cr3;
  ULONG     Cr4;
  ULONGLONG Gdtr;
  ULONGLONG Idtr;
  USHORT    Ldtr;
  USHORT    Tr;
} WHEA_X86_REGISTER_STATE, *PWHEA_X86_REGISTER_STATE;

Members

Eax

The accumulator register.

Ebx

The base register.

Ecx

The count register.

Edx

The data register.

Esi

The source index register.

Edi

The destination index register.

Ebp

The base pointer register.

Esp

The stack pointer register.

Cs

The code segment register.

Ds

The data segment register.

Ss

The stack segment register.

Es

The extra segment register.

Fs

The general purpose segment register FS.

Gs

The general purpose segment register GS.

Eflags

The flags register.

Eip

The instruction pointer register.

Cr0

The control register 0.

Cr1

The control register 1.

Cr2

The control register 2.

Cr3

The control register 3.

Cr4

The control register 4.

Gdtr

The global descriptor table register.

Idtr

The interrupt descriptor table register.

Ldtr

The local descriptor table register.

Tr

The task register.

Remarks

If the RegisterContextType member of a WHEA_XPF_CONTEXT_INFO structure is set to XPF_CONTEXT_INFO_32BITCONTEXT, the RegisterData member of that structure contains a WHEA_X86_REGISTER_STATE structure.

Requirements

Requirement Value
Minimum supported client Supported in Windows Server 2008, Windows Vista SP1, and later versions of Windows.
Header ntddk.h (include Ntddk.h)

See also

WHEA_XPF_CONTEXT_INFO