24#define BOP_LOAD_DOS 0x2B
25#define BOP_START_DOS 0x2C
34#define BiosDisplayMessage(Format, ...) \
35 PrintMessageAnsi(Dem_BiosCharPrint, (Format), ##__VA_ARGS__)
38#define DosDisplayMessage(Format, ...) \
39 PrintMessageAnsi(DosCharPrint, (Format), ##__VA_ARGS__)
69#define FA_NORMAL _A_NORMAL
70#define FA_READONLY _A_RDONLY
71#define FA_HIDDEN _A_HIDDEN
72#define FA_SYSTEM _A_SYSTEM
73#define FA_VOLID _A_VOLID
74#define FA_LABEL FA_VOLID
75#define FA_DIRECTORY _A_SUBDIR
76#define FA_ARCHIVE _A_ARCH
77#define FA_DEVICE 0x0040
79#define FA_VALID (FA_ARCHIVE | FA_DIRECTORY | FA_SYSTEM | FA_HIDDEN | FA_READONLY | FA_NORMAL)
82#define NT_TO_DOS_FA(Attrs) \
83 ( ((Attrs) == FILE_ATTRIBUTE_NORMAL) ? FA_NORMAL : (LOBYTE(Attrs) & FA_VALID) )
PRTL_UNICODE_STRING_BUFFER Path
WCHAR CurrentDirectory[1024]
DWORD WINAPI demFileFindFirst(_Out_ PVOID pFindFileData, _In_ PCSTR FileName, _In_ WORD AttribMask)
BOOLEAN DosShutdown(BOOLEAN Immediate)
DWORD WINAPI demFileFindNext(_Inout_ PVOID pFindFileData)
UCHAR WINAPI demGetPhysicalDriveType(IN UCHAR DriveNumber)
BOOL WINAPI demIsShortPathName(IN LPCSTR Path, IN BOOL Unknown)
DWORD WINAPI demFileDelete(IN LPCSTR FileName)
VOID Dem_BiosCharPrint(CHAR Character)
DWORD DosStartProcess32(IN LPCSTR ExecutablePath, IN LPCSTR CommandLine, IN LPCSTR Environment OPTIONAL, IN DWORD ReturnAddress OPTIONAL, IN BOOLEAN StartComSpec)
VOID DosCharPrint(CHAR Character)
DWORD WINAPI demSetCurrentDirectoryGetDrive(IN LPCSTR CurrentDirectory, OUT PUCHAR DriveNumber)
DWORD WINAPI demClientErrorEx(IN HANDLE FileHandle, IN CHAR Unknown, IN BOOL Flag)
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
PVOID PVOID PWCHAR PVOID Environment
PULONG MinorVersion OPTIONAL