Skip to content

NativeMethods.ThreadContext ​

Describes the full thread context on x64 platforms.

Kind: Struct

Namespace: ConnectorLib

Public Attributes

ThreadContextFlags

ContextFlags

Flags indicating which portions of the context are valid.

ulong

P1Home

Preserved home parameters for calling conventions.

ulong

P2Home

Preserved home parameters for calling conventions.

ulong

P3Home

Preserved home parameters for calling conventions.

ulong

P4Home

Preserved home parameters for calling conventions.

ulong

P5Home

Preserved home parameters for calling conventions.

ulong

P6Home

Preserved home parameters for calling conventions.

uint

MxCsr

Control and status register.

ushort

SegCs

Segment registers.

ushort

SegDs

Segment registers.

ushort

SegEs

Segment registers.

ushort

SegFs

Segment registers.

ushort

SegGs

Segment registers.

ushort

SegSs

Segment registers.

uint

EFlags

CPU flags register.

ulong

Dr0

Debug registers.

ulong

Dr1

Debug registers.

ulong

Dr2

Debug registers.

ulong

Dr3

Debug registers.

ulong

Dr6

Debug registers.

ulong

Dr7

Debug registers.

ulong

Rax

General-purpose registers.

ulong

Rcx

General-purpose registers.

ulong

Rdx

General-purpose registers.

ulong

Rbx

General-purpose registers.

ulong

Rsp

General-purpose registers.

ulong

Rbp

General-purpose registers.

ulong

Rsi

General-purpose registers.

ulong

Rdi

General-purpose registers.

ulong

R8

ulong

R9

ulong

R10

ulong

R11

ulong

R12

ulong

R13

ulong

R14

ulong

R15

ulong

Rip

Instruction pointer.

XMMSaveArea32

FltSave

Floating-point state.

M128A[]

VectorRegister

Vector registers.

ulong

VectorControl

Vector control register.

ulong

DebugControl

Debug control registers and last branch records.

ulong

LastBranchToRip

Debug control registers and last branch records.

ulong

LastBranchFromRip

Debug control registers and last branch records.

ulong

LastExceptionToRip

Debug control registers and last branch records.

ulong

LastExceptionFromRip

Debug control registers and last branch records.