Sync up to trunk head before merging.
[reactos.git] / subsystems / ntvdm / dos / dem.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: dem.h
5 * PURPOSE: DOS 32-bit Emulation Support Library -
6 * This library is used by the built-in NTVDM DOS32 and by
7 * the NT 16-bit DOS in Windows (via BOPs). It also exposes
8 * exported functions that can be used by VDDs.
9 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
10 * Hermes Belusca-Maito (hermes.belusca@sfr.fr)
11 */
12
13 #ifndef _DEM_H_
14 #define _DEM_H_
15
16 /* INCLUDES *******************************************************************/
17
18 #include "ntvdm.h"
19 #include "dos32krnl/dos.h"
20
21 /* FUNCTIONS ******************************************************************/
22
23 BOOLEAN DosInitialize(IN LPCSTR DosKernelFileNames);
24
25 DWORD
26 WINAPI
27 demClientErrorEx
28 (
29 IN HANDLE FileHandle,
30 IN CHAR Unknown,
31 IN BOOL Flag
32 );
33
34 DWORD
35 WINAPI
36 demFileDelete
37 (
38 IN LPCSTR FileName
39 );
40
41 DWORD
42 WINAPI
43 demFileFindFirst
44 (
45 OUT PVOID lpFindFileData,
46 IN LPCSTR FileName,
47 IN WORD AttribMask
48 );
49
50 DWORD
51 WINAPI
52 demFileFindNext
53 (
54 OUT PVOID lpFindFileData
55 );
56
57 UCHAR
58 WINAPI
59 demGetPhysicalDriveType
60 (
61 IN UCHAR DriveNumber
62 );
63
64 BOOL
65 WINAPI
66 demIsShortPathName
67 (
68 IN LPCSTR Path,
69 IN BOOL Unknown
70 );
71
72 DWORD
73 WINAPI
74 demSetCurrentDirectoryGetDrive
75 (
76 IN LPCSTR CurrentDirectory,
77 OUT PUCHAR DriveNumber
78 );
79
80 #endif // _DEM_H_
81
82 /* EOF */