Structures/CONTEXT64.ps1

$CONTEXT64 = struct $Module CONTEXT64 @{
    P1Home            = field 0 UInt64
    P2Home            = field 1 UInt64
    P3Home            = field 2 UInt64
    P4Home            = field 3 UInt64
    P5Home            = field 4 UInt64
    P6Home            = field 5 UInt64
    ContextFlags      = field 6 UInt32
    MxCsr             = field 7 UInt32
    SegCs             = field 8 UInt32
    SegDs             = field 9 UInt32
    SegEs             = field 10 UInt32
    SegFs             = field 11 UInt32
    SegGs             = field 12 UInt32
    SegSs             = field 13 UInt32
    EFlags            = field 14 UInt32
    Dr0               = field 15 UInt64
    Dr1               = field 16 UInt64
    Dr2               = field 17 UInt64
    Dr3               = field 18 UInt64
    Dr6               = field 19 UInt64
    Dr7               = field 20 UInt64
    Rax               = field 21 UInt64
    Rcx               = field 22 UInt64
    Rdx               = field 23 UInt64
    Rbx               = field 24 UInt64
    Rsp               = field 25 UInt64
    Rbp               = field 26 UInt64
    Rsi               = field 27 UInt64
    Rdi               = field 28 UInt64
    R8                = field 29 UInt64
    R9                = field 30 UInt64
    R10               = field 31 UInt64
    R11               = field 32 UInt64
    R12               = field 33 UInt64
    R13               = field 34 UInt64
    R14               = field 35 UInt64
    R15               = field 36 UInt64
    Rip               = field 37 UInt64
    ExtendedRegisters = field 38 byte[] 976
}