[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / ntvdm.h
1 /*
2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
4 * FILE: ntvdm.h
5 * PURPOSE: Header file to define commonly used stuff
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 */
8
9 #ifndef _NTVDM_H_
10 #define _NTVDM_H_
11
12 /* INCLUDES *******************************************************************/
13
14 #include <stdio.h>
15 #include <stdarg.h>
16 #include <conio.h>
17 #include <wchar.h>
18
19 #define WIN32_NO_STATUS
20 #include <windef.h>
21 #include <winbase.h>
22 #include <wingdi.h>
23 #include <wincon.h>
24 #include <winnls.h>
25 #include <winreg.h>
26 #include <winuser.h>
27 #include <subsys/win/vdm.h>
28
29 #include <vddsvc.h>
30
31 DWORD WINAPI SetLastConsoleEventActive(VOID);
32
33 #include <debug.h>
34
35 /*
36 * Activate this line if you want to run NTVDM in standalone mode with:
37 * ntvdm.exe <program>
38 */
39 // #define STANDALONE
40
41 /* FUNCTIONS ******************************************************************/
42
43 #ifndef STANDALONE
44 extern ULONG SessionId;
45 #endif
46
47 extern HANDLE VdmTaskEvent;
48
49 VOID DisplayMessage(LPCWSTR Format, ...);
50
51 /*static*/ VOID
52 CreateVdmMenu(HANDLE ConOutHandle);
53 /*static*/ VOID
54 DestroyVdmMenu(VOID);
55
56 #endif // _NTVDM_H_
57
58 /* EOF */