Last change
on this file since 689 was 320, checked in by sandervl, 26 years ago |
Exports for getting THDB & TEB added
|
File size:
687 bytes
|
Rev | Line | |
---|
[320] | 1 | /* $Id: wprocess.h,v 1.6 1999-07-17 09:19:15 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 |
|
---|
[127] | 16 | #ifdef OS2_INCLUDED
|
---|
| 17 | typedef DWORD TEB;
|
---|
[320] | 18 | typedef DWORD THDB;
|
---|
[127] | 19 | #else
|
---|
| 20 | #include <winprocess.h>
|
---|
| 21 | #include <thread.h>
|
---|
| 22 | #endif
|
---|
| 23 |
|
---|
| 24 | TEB *InitializeTIB(BOOL fMainThread = FALSE);
|
---|
[124] | 25 | void DestroyTIB();
|
---|
| 26 |
|
---|
[281] | 27 | void WIN32API RestoreOS2TIB();
|
---|
| 28 | USHORT WIN32API SetWin32TIB();
|
---|
[127] | 29 |
|
---|
| 30 | extern BOOL fExeStarted;
|
---|
| 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.