mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 01:00:51 +00:00
0a46ec7a18
- Break the DOS source file into the "DOS BIOS" (also known in other places as ibmbio or io or...), which is in fact some kind of hardware abstraction layer, and the "DOS BDOS" kernel (also known in other places as ibmdos.com or msdos.sys or...). - Add in DEM the possibility of loading the DOS from another files (WIP). svn path=/branches/ntvdm/; revision=61846
83 lines
1.5 KiB
C
83 lines
1.5 KiB
C
/*
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
|
* FILE: dem.h
|
|
* PURPOSE: DOS 32-bit Emulation Support Library -
|
|
* This library is used by the built-in NTVDM DOS32 and by
|
|
* the NT 16-bit DOS in Windows (via BOPs). It also exposes
|
|
* exported functions that can be used by VDDs.
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
* Hermes Belusca-Maito (hermes.belusca@sfr.fr)
|
|
*/
|
|
|
|
#ifndef _DEM_H_
|
|
#define _DEM_H_
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include "ntvdm.h"
|
|
#include "dos32krnl/dos.h"
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
BOOLEAN DosInitialize(IN LPCSTR DosKernelFileNames);
|
|
|
|
DWORD
|
|
WINAPI
|
|
demClientErrorEx
|
|
(
|
|
IN HANDLE FileHandle,
|
|
IN CHAR Unknown,
|
|
IN BOOL Flag
|
|
);
|
|
|
|
DWORD
|
|
WINAPI
|
|
demFileDelete
|
|
(
|
|
IN LPCSTR FileName
|
|
);
|
|
|
|
DWORD
|
|
WINAPI
|
|
demFileFindFirst
|
|
(
|
|
OUT PVOID lpFindFileData,
|
|
IN LPCSTR FileName,
|
|
IN WORD AttribMask
|
|
);
|
|
|
|
DWORD
|
|
WINAPI
|
|
demFileFindNext
|
|
(
|
|
OUT PVOID lpFindFileData
|
|
);
|
|
|
|
UCHAR
|
|
WINAPI
|
|
demGetPhysicalDriveType
|
|
(
|
|
IN UCHAR DriveNumber
|
|
);
|
|
|
|
BOOL
|
|
WINAPI
|
|
demIsShortPathName
|
|
(
|
|
IN LPCSTR Path,
|
|
IN BOOL Unknown
|
|
);
|
|
|
|
DWORD
|
|
WINAPI
|
|
demSetCurrentDirectoryGetDrive
|
|
(
|
|
IN LPCSTR CurrentDirectory,
|
|
OUT PUCHAR DriveNumber
|
|
);
|
|
|
|
#endif // _DEM_H_
|
|
|
|
/* EOF */
|