diff --git a/util/win/process_structs.h b/util/win/process_structs.h index 622f02d8..66bc7f5b 100644 --- a/util/win/process_structs.h +++ b/util/win/process_structs.h @@ -319,12 +319,12 @@ struct CLIENT_ID { template struct TEB { NT_TIB NtTib; - typename Traits::Pointer ProcessEnvironmentBlock; + typename Traits::Pointer EnvironmentPointer; CLIENT_ID ClientId; - - // Not identical to Reserved2 in winternl's _TEB because we define ClientId. - typename Traits::Pointer RemainderOfReserved2[397]; - + typename Traits::Pointer ActiveRpcHandle; + typename Traits::Pointer ThreadLocalStoragePointer; + typename Traits::Pointer ProcessEnvironmentBlock; + typename Traits::Pointer RemainderOfReserved2[399]; BYTE Reserved3[1952]; typename Traits::Pointer TlsSlots[64]; BYTE Reserved4[8];