Last change
on this file since 281 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:
1.0 KB
|
Rev | Line | |
---|
[281] | 1 | /* $Id: versionos2.h,v 1.3 1999-07-07 08:11:09 sandervl Exp $ */
|
---|
[4] | 2 |
|
---|
| 3 | #ifndef __VERSIONOS2__H__
|
---|
| 4 | #define __VERSIONOS2__H__
|
---|
| 5 |
|
---|
| 6 | /*PLF
|
---|
| 7 | *
|
---|
| 8 | * PE2LX_VERSION is an internal version number used to verify that the
|
---|
| 9 | * dll's are a matched set. It doesn't have to be related at all to the
|
---|
| 10 | * "version number of the product" we advertise to users.
|
---|
| 11 | *
|
---|
| 12 | * Each time a structural change in pe2lx.exe causes previous dll's to
|
---|
| 13 | * be incompatible (for example, when Sander removed the "OS2" prefix
|
---|
| 14 | * from all exported names), this constant should be incremented.
|
---|
| 15 | *
|
---|
| 16 | * The value is currently stored as a four byte EA (so the range is that
|
---|
| 17 | * of an unsigned long).
|
---|
| 18 | *
|
---|
| 19 | *
|
---|
| 20 | */
|
---|
[281] | 21 | #define PE2LX_VERSION 3
|
---|
[4] | 22 |
|
---|
| 23 | #ifndef SYSTEM
|
---|
| 24 | #define SYSTEM _System
|
---|
| 25 | #endif
|
---|
| 26 |
|
---|
| 27 | //in kernel32.dll/wprocess.cpp, used by version.dll
|
---|
| 28 | BOOL SYSTEM GetVersionStruct(char *modname, char *verstruct, ULONG bufLength);
|
---|
| 29 | ULONG SYSTEM GetVersionSize(char *modname);
|
---|
| 30 |
|
---|
| 31 | //Used by GetVersion and GetProcessVersion
|
---|
| 32 | //Pretend we're win95
|
---|
| 33 | //#define WIN32OS2_VERSION ((1<<32)|4)
|
---|
| 34 | #define WIN32OS2_VERSION (4)
|
---|
| 35 |
|
---|
| 36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.