|
Last change
on this file since 315 was 281, checked in by sandervl, 26 years ago |
|
Major changes in PE2LX/KERNEL32 for TLS support. DLL VERSION INCREASED TO 3 AS THIS CHANGE MAKES IT INCOMPATIBLE WITH APPS CONVERTED WITH PREVIOUS VERSION OF PE2LX (OR WIN32K)
|
|
File size:
603 bytes
|
| Line | |
|---|
| 1 | /* $Id: wprocess.h,v 1.5 1999-07-07 08:11: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
|
|---|
| 17 | typedef DWORD TEB;
|
|---|
| 18 | #else
|
|---|
| 19 | #include <winprocess.h>
|
|---|
| 20 | #include <thread.h>
|
|---|
| 21 | #endif
|
|---|
| 22 |
|
|---|
| 23 | TEB *InitializeTIB(BOOL fMainThread = FALSE);
|
|---|
| 24 | void DestroyTIB();
|
|---|
| 25 |
|
|---|
| 26 | void WIN32API RestoreOS2TIB();
|
|---|
| 27 | USHORT WIN32API SetWin32TIB();
|
|---|
| 28 |
|
|---|
| 29 | extern BOOL fExeStarted;
|
|---|
| 30 |
|
|---|
| 31 | //Flat pointer to thread TIB structure
|
|---|
| 32 | extern DWORD *TIBFlatPtr;
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.