In computing, the Win32 Thread Information Block (TIB) is a data structure in Win32 on x86 that stores info about the currently running thread. This structure is also known as the Thread Environment Block (TEB).
The TIB is officially undocumented for Windows 9x. The Windows NT series DDK includes a struct NT_TIB in winnt.h that documents the subsystem independent part. Wine includes declarations for the extended (subsystem-specific part of) TIB. Yet so many Win32 programs use these undocumented fields that they are effectively a part of the API. The first field, in particular, is directly referenced by the code produced by Microsoft's own compiler.
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.
Read more about Win32 Thread Information Block: Contents of The TIB, Accessing The TIB
Famous quotes containing the words thread, information and/or block:
“We construct a narrative for ourselves, and thats the thread that we follow from one day to the next. People who disintegrate as personalities are the ones who lose that thread.”
—Paul Auster (b. 1947)
“As information technology restructures the work situation, it abstracts thought from action.”
—Shoshana Zuboff (b. 1951)
“For Jews demand signs and Greeks desire wisdom, but we proclaim Christ crucified, a stumbling block to Jews and foolishness to Gentiles...”
—Bible: New Testament, 1 Corinthians 1:22-3.