The Thread Environment Block (TEB structure) holds context information for a thread.
In the following versions of Windows, the offset of the 32-bit TEB address within the 64-bit TEB is 0. This can be used to directly access the 32-bit TEB of a WOW64 thread. This might change in later versions of Windows
| Platform | Version |
|---|---|
| Windows Vista | Windows Server 2008 |
| Windows 7 | Windows Server 2008 R2 |
| Windows 8 | Windows Server 2012 |
| Windows 8.1 | Windows Server 2012 R2 |
Related topics
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
