source: trunk/include/wprocess.h@ 1036

Last change on this file since 1036 was 953, checked in by sandervl, 26 years ago

New headers for kernel32 win32 image classes + removed old ones + nameid.h

File size: 713 bytes
Line 
1/* $Id: wprocess.h,v 1.7 1999-09-15 23:29:09 sandervl Exp $ */
2/*
3 * Process help functions
4 *
5 * Copyright (C) 1999 Sander van Leeuwen
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10
11#ifndef _WPROCESS_H__
12#define _WPROCESS_H__
13
14#define WIN32_TIBSEL
15
16#ifdef OS2_INCLUDED
17typedef DWORD TEB;
18typedef DWORD THDB;
19#else
20#include <winprocess.h>
21#include <thread.h>
22#endif
23
24TEB *InitializeTIB(BOOL fMainThread = FALSE);
25void DestroyTIB();
26
27void WIN32API RestoreOS2TIB();
28USHORT WIN32API SetWin32TIB();
29
30extern BOOL fExeStarted;
31extern BOOL fFreeLibrary;
32
33//Flat pointer to thread TIB structure
34extern DWORD *TIBFlatPtr;
35
36TEB *WIN32API GetThreadTEB();
37THDB *WIN32API GetThreadTHDB();
38
39#endif
Note: See TracBrowser for help on using the repository browser.