ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | BOP_LOAD_DOS 0x2B |
#define | BOP_START_DOS 0x2C |
#define | BOP_DOS 0x50 |
#define | BOP_CMD 0x54 |
#define | BiosDisplayMessage(Format, ...) PrintMessageAnsi(Dem_BiosCharPrint, (Format), ##__VA_ARGS__) |
#define | DosDisplayMessage(Format, ...) PrintMessageAnsi(DosCharPrint, (Format), ##__VA_ARGS__) |
#define | FA_NORMAL _A_NORMAL |
File attributes for demFileFindFirst(). | |
#define | FA_READONLY _A_RDONLY |
#define | FA_HIDDEN _A_HIDDEN |
#define | FA_SYSTEM _A_SYSTEM |
#define | FA_VOLID _A_VOLID |
#define | FA_LABEL FA_VOLID |
#define | FA_DIRECTORY _A_SUBDIR |
#define | FA_ARCHIVE _A_ARCH |
#define | FA_DEVICE 0x0040 |
#define | FA_VALID (FA_ARCHIVE | FA_DIRECTORY | FA_SYSTEM | FA_HIDDEN | FA_READONLY | FA_NORMAL) |
#define | NT_TO_DOS_FA(Attrs) ( ((Attrs) == FILE_ATTRIBUTE_NORMAL) ? FA_NORMAL : (LOBYTE(Attrs) & FA_VALID) ) |
Convert Win32/NT file attributes to DOS format. | |
Functions | |
VOID | Dem_BiosCharPrint (CHAR Character) |
VOID | DosCharPrint (CHAR Character) |
BOOLEAN | DosShutdown (BOOLEAN Immediate) |
DWORD | DosStartProcess32 (IN LPCSTR ExecutablePath, IN LPCSTR CommandLine, IN LPCSTR Environment OPTIONAL, IN DWORD ReturnAddress OPTIONAL, IN BOOLEAN StartComSpec) |
DWORD WINAPI | demClientErrorEx (IN HANDLE FileHandle, IN CHAR Unknown, IN BOOL Flag) |
DWORD WINAPI | demFileDelete (IN LPCSTR FileName) |
DWORD WINAPI | demFileFindFirst (_Out_ PVOID pFindFileData, _In_ PCSTR FileName, _In_ WORD AttribMask) |
DWORD WINAPI | demFileFindNext (_Inout_ PVOID pFindFileData) |
UCHAR WINAPI | demGetPhysicalDriveType (IN UCHAR DriveNumber) |
BOOL WINAPI | demIsShortPathName (IN LPCSTR Path, IN BOOL Unknown) |
DWORD WINAPI | demSetCurrentDirectoryGetDrive (IN LPCSTR CurrentDirectory, OUT PUCHAR DriveNumber) |
#define BiosDisplayMessage | ( | Format, | |
... | |||
) | PrintMessageAnsi(Dem_BiosCharPrint, (Format), ##__VA_ARGS__) |
#define DosDisplayMessage | ( | Format, | |
... | |||
) | PrintMessageAnsi(DosCharPrint, (Format), ##__VA_ARGS__) |
File attributes for demFileFindFirst().
#define FA_VALID (FA_ARCHIVE | FA_DIRECTORY | FA_SYSTEM | FA_HIDDEN | FA_READONLY | FA_NORMAL) |
#define NT_TO_DOS_FA | ( | Attrs | ) | ( ((Attrs) == FILE_ATTRIBUTE_NORMAL) ? FA_NORMAL : (LOBYTE(Attrs) & FA_VALID) ) |
Definition at line 57 of file dem.c.
Definition at line 1402 of file dem.c.
Referenced by DosInt21h().
DWORD WINAPI demFileFindFirst | ( | _Out_ PVOID | pFindFileData, |
_In_ PCSTR | FileName, | ||
_In_ WORD | AttribMask | ||
) |
Definition at line 1515 of file dem.c.
Referenced by DosInt21h().
Definition at line 1592 of file dem.c.
Referenced by DosInt21h().
Definition at line 1331 of file dem.c.
Referenced by VdmShutdown().
DWORD DosStartProcess32 | ( | IN LPCSTR | ExecutablePath, |
IN LPCSTR | CommandLine, | ||
IN LPCSTR Environment | OPTIONAL, | ||
IN DWORD ReturnAddress | OPTIONAL, | ||
IN BOOLEAN | StartComSpec | ||
) |
Definition at line 916 of file dem.c.
Referenced by CmdStartComSpec32(), CmdStartExternalCommand(), and DosCreateProcess().