2014-01-26 18:25:59 +00:00
|
|
|
/*
|
|
|
|
* 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"
|
2014-01-26 21:51:27 +00:00
|
|
|
#include "dos32krnl/dos.h"
|
2014-01-26 18:25:59 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
|
|
|
|
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 */
|