- 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>
149 lines
3.7 KiB
C++
149 lines
3.7 KiB
C++
/*++ BUILD Version: 0006 // Increment this if a change has global effects
|
|
|
|
Module Name:
|
|
|
|
lmat.h
|
|
|
|
Abstract:
|
|
|
|
This file contains structures, function prototypes, and definitions
|
|
for the schedule service API-s.
|
|
|
|
Author:
|
|
|
|
Vladimir Z. Vulovic (vladimv) 06 - November - 1992
|
|
|
|
Environment:
|
|
|
|
User Mode - Win32
|
|
Portable to any flat, 32-bit environment. (Uses Win32 typedefs.)
|
|
Requires ANSI C extensions: slash-slash comments, long external names.
|
|
|
|
Notes:
|
|
|
|
You must include NETCONS.H before this file, since this file depends
|
|
on values defined in NETCONS.H.
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
/*
|
|
* C/C++ Run Time Library - Version 6.5
|
|
*
|
|
* Copyright (c) 1994 by Borland International
|
|
* All Rights Reserved.
|
|
*
|
|
*/
|
|
|
|
#ifndef _LMAT_
|
|
#define _LMAT_
|
|
#define __LMAT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//
|
|
// The following bits are used with Flags field in structures below.
|
|
//
|
|
|
|
//
|
|
// Do we exec programs for this job periodically (/EVERY switch)
|
|
// or one time (/NEXT switch).
|
|
//
|
|
#define JOB_RUN_PERIODICALLY 0x01 // set if EVERY
|
|
|
|
|
|
//
|
|
// Was there an error last time we tried to exec a program on behalf of
|
|
// this job.
|
|
// This flag is meaningfull on output only!
|
|
//
|
|
#define JOB_EXEC_ERROR 0x02 // set if error
|
|
|
|
//
|
|
// Will this job run today or tomorrow.
|
|
// This flag is meaningfull on output only!
|
|
//
|
|
#define JOB_RUNS_TODAY 0x04 // set if today
|
|
|
|
//
|
|
// Add current day of the month to DaysOfMonth input.
|
|
// This flag is meaningfull on input only!
|
|
//
|
|
#define JOB_ADD_CURRENT_DATE 0x08 // set if to add current date
|
|
|
|
|
|
//
|
|
// Will this job be run interactively or not. Windows NT 3.1 do not
|
|
// know about this bit, i.e. they submit interactive jobs only.
|
|
//
|
|
#define JOB_NONINTERACTIVE 0x10 // set for noninteractive
|
|
|
|
|
|
#define JOB_INPUT_FLAGS ( JOB_RUN_PERIODICALLY | \
|
|
JOB_ADD_CURRENT_DATE | \
|
|
JOB_NONINTERACTIVE )
|
|
|
|
#define JOB_OUTPUT_FLAGS ( JOB_RUN_PERIODICALLY | \
|
|
JOB_EXEC_ERROR | \
|
|
JOB_RUNS_TODAY | \
|
|
JOB_NONINTERACTIVE )
|
|
|
|
|
|
|
|
typedef struct _AT_INFO {
|
|
DWORD JobTime;
|
|
DWORD DaysOfMonth;
|
|
UCHAR DaysOfWeek;
|
|
UCHAR Flags;
|
|
LPWSTR Command;
|
|
} AT_INFO, *PAT_INFO, *LPAT_INFO;
|
|
|
|
typedef struct _AT_ENUM {
|
|
DWORD JobId;
|
|
DWORD JobTime;
|
|
DWORD DaysOfMonth;
|
|
UCHAR DaysOfWeek;
|
|
UCHAR Flags;
|
|
LPWSTR Command;
|
|
} AT_ENUM, *PAT_ENUM, *LPAT_ENUM;
|
|
|
|
NET_API_STATUS NET_API_FUNCTION
|
|
NetScheduleJobAdd(
|
|
IN LPWSTR Servername OPTIONAL,
|
|
IN LPBYTE Buffer,
|
|
OUT LPDWORD JobId
|
|
);
|
|
|
|
NET_API_STATUS NET_API_FUNCTION
|
|
NetScheduleJobDel(
|
|
IN LPWSTR Servername OPTIONAL,
|
|
IN DWORD MinJobId,
|
|
IN DWORD MaxJobId
|
|
);
|
|
|
|
NET_API_STATUS NET_API_FUNCTION
|
|
NetScheduleJobEnum(
|
|
IN LPWSTR Servername OPTIONAL,
|
|
OUT LPBYTE * PointerToBuffer,
|
|
IN DWORD PrefferedMaximumLength,
|
|
OUT LPDWORD EntriesRead,
|
|
OUT LPDWORD TotalEntries,
|
|
IN OUT LPDWORD ResumeHandle
|
|
);
|
|
|
|
NET_API_STATUS NET_API_FUNCTION
|
|
NetScheduleJobGetInfo(
|
|
IN LPWSTR Servername OPTIONAL,
|
|
IN DWORD JobId,
|
|
OUT LPBYTE * PointerToBuffer
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // _LMAT_
|