Rev | Line | |
---|
[1222] | 1 | /* $Id: wprocess.h,v 1.9 1999-10-09 13:31:44 sandervl Exp $ */
|
---|
[124] | 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 |
|
---|
[130] | 14 | #define WIN32_TIBSEL
|
---|
[125] | 15 |
|
---|
[1067] | 16 | #ifndef OS2_INCLUDED
|
---|
[127] | 17 | #include <winprocess.h>
|
---|
[1067] | 18 | #endif
|
---|
[127] | 19 | #include <thread.h>
|
---|
| 20 |
|
---|
| 21 | TEB *InitializeTIB(BOOL fMainThread = FALSE);
|
---|
[124] | 22 | void DestroyTIB();
|
---|
| 23 |
|
---|
[281] | 24 | void WIN32API RestoreOS2TIB();
|
---|
| 25 | USHORT WIN32API SetWin32TIB();
|
---|
[127] | 26 |
|
---|
| 27 | extern BOOL fExeStarted;
|
---|
[953] | 28 | extern BOOL fFreeLibrary;
|
---|
[1222] | 29 | extern BOOL fIsOS2Image; //TRUE -> Odin32 OS/2 application (not converted!)
|
---|
| 30 | //FALSE -> otherwise
|
---|
[127] | 31 |
|
---|
[281] | 32 | //Flat pointer to thread TIB structure
|
---|
| 33 | extern DWORD *TIBFlatPtr;
|
---|
| 34 |
|
---|
[320] | 35 | TEB *WIN32API GetThreadTEB();
|
---|
| 36 | THDB *WIN32API GetThreadTHDB();
|
---|
| 37 |
|
---|
[124] | 38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.