- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
(extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
BT game source (never mixed into CODE/). Round 1-3 state:
* 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
(BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
since 1996.
* BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
its binary-recorded line 400 exactly.
* BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
(Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
TeamScore=12 flagged [T4]).
* MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
(VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
the period compiler is the drift detector).
* Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
(per-TU verification sweep under authentic OPT.MAK flags).
* README: corrected roadmap - MECH.HPP is the capstone grown with the mech
TU reconstructions; BTREG.CPP green = the header-family milestone.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
107 lines
2.7 KiB
C++
107 lines
2.7 KiB
C++
/*
|
|
* M A P I O I D . H
|
|
*
|
|
* MAPI OID definition header file
|
|
*
|
|
* Copyright 1993-1995 Microsoft Corporation. All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _MAPIOID_
|
|
#define _MAPIOID_
|
|
|
|
/*
|
|
* MAPI 1.0 Object Identifiers (OID's)
|
|
*
|
|
* All MAPI 1.0 OIDs are prefixed by the segment
|
|
*
|
|
* {iso(1) ansi(2) usa(840) microsoft(113556) mapi(3)}
|
|
*
|
|
* All MAPI 1.0 tags are also include the addistion segment
|
|
*
|
|
* {tags(10)}
|
|
*
|
|
* All MAPI 1.0 encodings are also include the addistion segment
|
|
*
|
|
* {encodeings(11)}
|
|
*
|
|
* The set of defined tags are as follows
|
|
*
|
|
* {{mapiprefix} {tags} {tnef(1)}} MAPI 1.0 TNEF encapsulation tag
|
|
*
|
|
* {{mapiprefix} {tags} {ole(3)}} MAPI 1.0 OLE prefix
|
|
* {{mapiprefix} {tags} {ole(3)} {v1(1)}} MAPI 1.0 OLE 1.0 prefix
|
|
* {{mapiprefix} {tags} {ole(3)} {v1(1)} {storage(1)}} MAPI 1.0 OLE 1.0 OLESTREAM
|
|
* {{mapiprefix} {tags} {ole(3)} {v2(2)}} MAPI 1.0 OLE 2.0 prefix
|
|
* {{mapiprefix} {tags} {ole(3)} {v2(2)} {storage(1)}} MAPI 1.0 OLE 2.0 IStorage
|
|
*
|
|
* The set of defined encodings are as follows
|
|
*
|
|
* {{mapiprefix} {encodings} {MacBinary(1)}} MAPI 1.0 MacBinary
|
|
*/
|
|
|
|
#define OID_TAG 0x0A
|
|
#define OID_ENCODING 0x0B
|
|
|
|
#define DEFINE_OID_1(name, b0, b1) \
|
|
EXTERN_C const BYTE FAR * name
|
|
|
|
#define DEFINE_OID_2(name, b0, b1, b2) \
|
|
EXTERN_C const BYTE FAR * name
|
|
|
|
#ifdef _MAC
|
|
#define DEFINE_OID_3(name, b0, b1, b2, b3) \
|
|
EXTERN_C _declspec(allocate("_FAR_DATA")) const BYTE FAR * name
|
|
#else
|
|
#define DEFINE_OID_3(name, b0, b1, b2, b3) \
|
|
EXTERN_C const BYTE FAR * name
|
|
#endif
|
|
|
|
#define DEFINE_OID_4(name, b0, b1, b2, b3, b4) \
|
|
EXTERN_C const BYTE FAR * name
|
|
|
|
#define CB_OID_1 9
|
|
#define CB_OID_2 10
|
|
#define CB_OID_3 11
|
|
#define CB_OID_4 12
|
|
|
|
#ifdef INITOID
|
|
#include <initoid.h>
|
|
#endif
|
|
|
|
#ifdef USES_OID_TNEF
|
|
DEFINE_OID_1(OID_TNEF, OID_TAG, 0x01);
|
|
#define CB_OID_TNEF CB_OID_1
|
|
#endif
|
|
|
|
#ifdef USES_OID_OLE
|
|
DEFINE_OID_1(OID_OLE, OID_TAG, 0x03);
|
|
#define CB_OID_OLE CB_OID_1
|
|
#endif
|
|
|
|
#ifdef USES_OID_OLE1
|
|
DEFINE_OID_2(OID_OLE1, OID_TAG, 0x03, 0x01);
|
|
#define CB_OID_OLE1 CB_OID_2
|
|
#endif
|
|
|
|
#ifdef USES_OID_OLE1_STORAGE
|
|
DEFINE_OID_3(OID_OLE1_STORAGE, OID_TAG, 0x03, 0x01, 0x01);
|
|
#define CB_OID_OLE1_STORAGE CB_OID_3
|
|
#endif
|
|
|
|
#ifdef USES_OID_OLE2
|
|
DEFINE_OID_2(OID_OLE2, OID_TAG, 0x03, 0x02);
|
|
#define CB_OID_OLE2 CB_OID_2
|
|
#endif
|
|
|
|
#ifdef USES_OID_OLE2_STORAGE
|
|
DEFINE_OID_3(OID_OLE2_STORAGE, OID_TAG, 0x03, 0x02, 0x01);
|
|
#define CB_OID_OLE2_STORAGE CB_OID_3
|
|
#endif
|
|
|
|
#ifdef USES_OID_MAC_BINARY
|
|
DEFINE_OID_1(OID_MAC_BINARY, OID_ENCODING, 0x01);
|
|
#define CB_OID_MAC_BINARY CB_OID_1
|
|
#endif
|
|
|
|
#endif
|