This article needs to be updated. Please help update this article to reflect recent events or newly available information.(December 2013)
The Thread Information Block (TIB) or Thread Environment Block (TEB) is a data structure in Win32 on x86 that stores information about the currently running thread. It descended from, and is backward-compatible on 32-bit systems with, a similar structure in OS/2.[1]
The TIB is officially undocumented for Windows 9x. The Windows NT series DDK (as well as the MinGW/ReactOS implementation) includes a struct NT_TIB in winnt.h that documents the subsystem independent part. Even before TIB was effectively documented, many applications have already started using its fields that they are effectively a part of the API. The first field containing the SEH frame, in particular, is directly referenced by the code produced by Microsoft's own compiler.[1] The Win32 subsystem-specific part of the TEB is undocumented, but Wine includes a TEB definition in winternl.h.[2]
The TIB can be used to get a lot of information on the process without calling Win32 API. Examples include emulating GetLastError(), GetVersion(). Through the pointer to the PEB one can obtain access to the import tables (IAT), process startup arguments, image name, etc. It is accessed from the FS segment register on 32-bit Windows and GS on 64-bit Windows.
^ abCite error: The named reference Pietrek-May96 was invoked but never defined (see the help page).
^"wine winternl.h: typedef struct _TEB". GitHub. wine-mirror. 29 October 2019.
and 23 Related for: Win32 Thread Information Block information
The ThreadInformationBlock (TIB) or Thread Environment Block (TEB) is a data structure in Win32 on x86 that stores information about the currently running...
format), a file format used by Acronis True Image software Win32ThreadInformationBlock, in Microsoft Windows programming nl:Toetsingscommissie Inzet...
name that identifies a compatibility aspect of that version. For example, Win32 is the major version of Windows API that runs on 32-bit systems. The name...
call, the Native API function that implements part of, and underpins, the Win32 CreateProcess(), CreateProcessAsUser(), CreateProcessWithTokenW(), and...
Easy Button, an alternative rock band Win32ThreadInformationBlock (also called the Thread Environment Block), a data structure used in Microsoft Windows...
are three main environment subsystems: the Win32 subsystem, an OS/2 subsystem and a POSIX subsystem. The Win32 environment subsystem can run 32-bit Windows...
computer. For example, a Sality variant detected as Virus:Win32-Sality.AU is dropped by Worm:Win32-Sality.AU. Some variants of Sality, may also include a...
single-threaded or multi-threaded. There are three types of apartments in COM: Single-Threaded Apartment (STA), Multi-Threaded Apartment (MTA), and Thread Neutral...
pseudorandom number generator function that is included in Microsoft CryptoAPI. In Win32 programs, Microsoft recommends its use anywhere random number generation...
device for a piece of block-based hardware will typically require programs to read and write aligned blocks. Block special files or block devices provide buffered...
can still be used in environments where blocks are not available. Grand Central Dispatch still uses threads at the low level but abstracts them away...
com/XAMPPRocky/tokei Crypto++ is thread safe at the object level, i.e. there is no shared data among instances. If two different threads access the same object...
modular IRC bot for Win32 / Linux”. Agobot was released under version 2 of the GNU General Public License. Agobot is a multi-threaded and mostly object...
include notable changes or are the latest supported version. Additional information can be found on the official Perl website. Release numbers use semantic...
order to display a real ampersand. This convention originated in the first WIN32 api, and is used in Windows Forms, (but not WPF, which uses underscore _...
components typically used for inter-process communication (IPC), or for inter-thread communication within the same process. They use a queue for messaging –...
the context of a dispatching unit, e.g., address space, process, task, thread, while other code runs independent of any dispatching unit. In contemporary...
commitment to a backward-compatible API, particularly within its Windows API (Win32) library, so older applications may run on newer versions of Windows using...
using Motorola 68000 family (m68k) processors. With release 0.99.8 the Win32 target was added, and a start was made with incorporating some Delphi features...
on June 20, 2010. Retrieved January 2, 2008. "How to: Modify WINVER and _WIN32_WINNT". Microsoft Learn. Archived from the original on July 22, 2019. Retrieved...
attribute also needs to be added to reference the desired DLL file. [DllImport("win32.dll")] static extern double Pow(double a, double b); Fields, or instance...