// This is just an excerpt from the real NtTeb.h file. // The complete version will be published in a separate project. // __________________________________________________________ // // NtTeb.h // Windows NT Thread Environment Block V1.00 // 11-15-1998 Sven B. Schreiber // sbs@orgon.com // __________________________________________________________ #ifndef _NTTEB_H_ #define _NTTEB_H_ // ================================================================= // DISCLAIMER // ================================================================= /* This software is provided "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantibility and fitness for a particular purpose are disclaimed. In no event shall the author Sven B. Schreiber be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. */ // ================================================================= // REVISION HISTORY // ================================================================= /* 11-15-1998 V1.00 Original version (SBS). */ // ================================================================= // REQUIRED HEADER FILES // ================================================================= #ifndef _NTDLL_H_ #include #endif // ================================================================= // OPAQUE POINTERS // ================================================================= typedef PVOID PPEB, PPROCESS_PARAMS; // ================================================================= // THREAD ENVIRONMENT BLOCK // ================================================================= typedef struct _TEB { NT_TIB Tib; PVOID pEnvironmentPointer; CLIENT_ID Cid; HANDLE hRpcHandle; PPVOID ppThreadLocalStorage; PPEB pPeb; DWORD dLastErrorValue; } TEB, * PTEB, **PPTEB; #define TEB_ \ sizeof (TEB) // ================================================================= // END OF MAIN #ifndef CLAUSE // ================================================================= #endif // _NTTEB_H_ // ================================================================= // END OF FILE // =================================================================