2 * COPYRIGHT: GPL - See COPYING in the top level directory
3 * PROJECT: ReactOS Virtual DOS Machine
5 * PURPOSE: Header file to define commonly used stuff
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
12 /* INCLUDES *******************************************************************/
19 #define WIN32_NO_STATUS
27 #include <subsys/win/vdm.h>
31 DWORD WINAPI
SetLastConsoleEventActive(VOID
);
36 * Activate this line if you want to run NTVDM in standalone mode with:
42 * Activate this line for Win2k compliancy
44 // #define WIN2K_COMPLIANT
46 /* FUNCTIONS ******************************************************************/
49 extern BOOLEAN AcceptCommands
;
50 extern HANDLE CommandThread
;
51 extern ULONG SessionId
;
54 extern HANDLE VdmTaskEvent
;
56 // Command line of NTVDM
58 extern WCHAR
** NtVdmArgv
;
64 VOID
DisplayMessage(LPCWSTR Format
, ...);
67 CreateVdmMenu(HANDLE ConOutHandle
);
71 BOOL
ConsoleAttach(VOID
);
72 VOID
ConsoleDetach(VOID
);
73 VOID
MenuEventHandler(PMENU_EVENT_RECORD MenuEvent
);
74 VOID
FocusEventHandler(PFOCUS_EVENT_RECORD FocusEvent
);