Contents of The TIB
| Position | Length | Windows Versions | Description |
|---|---|---|---|
| FS: | 4 | Win9x and NT | Current Structured Exception Handling (SEH) frame |
| FS: | 4 | Win9x and NT | Top of stack |
| FS: | 4 | Win9x and NT | Current bottom of stack |
| FS: | 4 | Unknown - TIB Subsystem? | |
| FS: | 4 | NT | Fiber data |
| FS: | 4 | Win9x and NT | Arbitrary data slot |
| FS: | 4 | Win9x and NT | Linear address of TIB |
| ---- End of NT subsystem independent part ---- | |||
| FS: | 4 | NT | Environment Pointer |
| FS: | 4 | NT | Process ID |
| FS: | 4 | NT | Current thread ID |
| FS: | 4 | NT | Active RPC Handle |
| FS: | 4 | Win9x and NT | Linear address of the thread-local storage array |
| FS: | 4 | NT | Linear address of Process Environment Block (PEB) |
| FS: | 4 | NT | Last error number |
| FS: | 4 | NT | Count of owned critical sections |
| FS: | 4 | NT | Address of CSR Client Thread |
| FS: | 4 | NT | Win32 Thread Information |
| FS: | 124 | NT, Wine | Win32 client information (NT), user32 private data (Wine), 0x60 = LastError (Win95), 0x74 = LastError (WinME) |
| FS: | 4 | NT | Reserved for Wow32 |
| FS: | 4 | NT | Current Locale |
| FS: | 4 | NT | FP Software Status Register |
| FS: | 216 | NT, Wine | Reserved for OS (NT), kernel32 private data (Wine) |
| FS: | 4 | NT | Pointer to KTHREAD (ETHREAD) structure |
| FS: | 4 | NT | Exception code |
| FS: | 18 | NT | Activation context stack |
| FS: | 24 | NT, Wine | Spare bytes (NT), ntdll private data (Wine) |
| FS: | 40 | NT, Wine | Reserved for OS (NT), ntdll private data (Wine) |
| FS: | 1248 | NT, Wine | GDI TEB Batch (OS), vm86 private data (Wine) |
| FS: | 4 | NT | GDI Region |
| FS: | 4 | NT | GDI Pen |
| FS: | 4 | NT | GDI Brush |
| FS: | 4 | NT | Real Process ID |
| FS: | 4 | NT | Real Thread ID |
| FS: | 4 | NT | GDI cached process handle |
| FS: | 4 | NT | GDI client process ID (PID) |
| FS: | 4 | NT | GDI client thread ID (TID) |
| FS: | 4 | NT | GDI thread locale information |
| FS: | 20 | NT | Reserved for user application |
| FS: | 1248 | NT | Reserved for GL |
| FS: | 4 | NT | Last Status Value |
| FS: | 532 | NT | Static UNICODE_STRING buffer |
| FS: | 4 | NT | Pointer to deallocation stack |
| FS: | 256 | NT | TLS slots, 4 byte per slot |
| FS: | 8 | NT | TLS links (LIST_ENTRY structure) |
| FS: | 4 | NT | VDM |
| FS: | 4 | NT | Reserved for RPC |
| FS: | 4 | NT | Thread error mode (RtlSetThreadErrorMode) |
FS maps to a TIB which is embedded in a data block known as the TDB (thread data base). The TIB contains the thread-specific exception handling chain and pointer to the TLS (thread local storage.) The thread local storage is not the same as C local storage.
Read more about this topic: Win32 Thread Information Block
Famous quotes containing the words contents of the, contents of and/or contents:
“Yet to speak of the whole world as metaphor
Is still to stick to the contents of the mind
And the desire to believe in a metaphor.
It is to stick to the nicer knowledge of
Belief, that what it believes in is not true.”
—Wallace Stevens (18791955)
“Conversation ... is like the table of contents of a dull book.... All the greatest subjects of human thought are proudly displayed in it. Listen to it for three minutes, and you ask yourself which is more striking, the emphasis of the speaker or his shocking ignorance.”
—Stendhal [Marie Henri Beyle] (17831842)
“Conversation ... is like the table of contents of a dull book.... All the greatest subjects of human thought are proudly displayed in it. Listen to it for three minutes, and you ask yourself which is more striking, the emphasis of the speaker or his shocking ignorance.”
—Stendhal [Marie Henri Beyle] (17831842)