24#define DOS_VERSION MAKEWORD(5, 00)
25#define NTDOS_VERSION MAKEWORD(5, 50)
27#define DOS_CONFIG_PATH L"%SystemRoot%\\system32\\CONFIG.NT"
28#define DOS_COMMAND_INTERPRETER L"%SystemRoot%\\system32\\COMMAND.COM /k %SystemRoot%\\system32\\AUTOEXEC.NT"
30#define BIOS_CODE_SEGMENT 0x70
31#define BIOS_DATA_SEGMENT 0x70
32#define DOS_CODE_SEGMENT 0x80
33#define DOS_DATA_SEGMENT 0xA5
35#define DOS_DATA_OFFSET(x) FIELD_OFFSET(DOS_DATA, x)
37#define SYSTEM_ENV_BLOCK 0x600
39#define SYSTEM_PSP 0x0008
41#define INVALID_DOS_HANDLE 0xFFFF
42#define DOS_INPUT_HANDLE 0
43#define DOS_OUTPUT_HANDLE 1
44#define DOS_ERROR_HANDLE 2
46#define DOS_SFT_SIZE 255
47#define DOS_DIR_LENGTH 64
48#define NUM_DRIVES ('Z' - 'A' + 1)
49#define DOS_CHAR_ATTRIBUTE 0x07
314#define RegisterDosInt32(IntNumber, IntHandler) \
316 ASSERT((0x20 <= IntNumber) && (IntNumber <= 0x2F)); \
317 RegisterInt32(DosContext.TrampolineFarPtr + \
318 DosContext.TrampolineSize + \
319 (IntNumber - 0x20) * Int16To32StubSize, \
320 (IntNumber), (IntHandler), NULL); \
static SIZE_T const char const D3D_SHADER_MACRO ID3DInclude * include
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
#define _Null_terminated_
BYTE Padding1[0x100 - 0xB8]
CHAR CurrentDirectories[NUM_DRIVES][DOS_DIR_LENGTH]
BYTE UnreadConInputBuffer[128]
BYTE NullDriverRoutine[7]
DOS_CLOCK_TRANSFER_RECORD ClockTransferRecord
CHAR CurrentDirectory[81]
WORD NetworkMachineNumber
WORD BuffersLookaheadNumber
struct _DOS_DATA * PDOS_DATA
CHAR DosReadCharacter(WORD FileHandle, BOOLEAN Echo)
struct _DOS_FCB * PDOS_FCB
BOOLEAN DosControlBreak(VOID)
BOOLEAN DosKRNLInitialize(VOID)
struct _DOS_SYSVARS * PDOS_SYSVARS
struct _BIOS_DATA BIOS_DATA
struct _DOS_CLOCK_TRANSFER_RECORD DOS_CLOCK_TRANSFER_RECORD
VOID DosEchoCharacter(CHAR Character)
struct _BIOS_DATA * PBIOS_DATA
struct _DOS_FIND_FILE_BLOCK DOS_FIND_FILE_BLOCK
struct _DOS_DATA DOS_DATA
VOID DosPrintCharacter(WORD FileHandle, CHAR Character)
struct _DOS_SYSVARS DOS_SYSVARS
struct _DOS_INPUT_BUFFER DOS_INPUT_BUFFER
struct _DOS_CLOCK_TRANSFER_RECORD * PDOS_CLOCK_TRANSFER_RECORD
BOOLEAN DosCheckInput(VOID)
struct _DOS_FIND_FILE_BLOCK * PDOS_FIND_FILE_BLOCK
struct _DOS_INPUT_BUFFER * PDOS_INPUT_BUFFER
BOOLEAN DosBIOSInitialize(VOID)
VOID ConDrvInitialize(VOID)
struct _DOS_SDA * PDOS_SDA
_Reserved_ PVOID Reserved