[NTVDM]
[reactos.git] / subsystems / ntvdm / ntvdm.h
index 7e71e2b..2404dd4 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
-#include <windows.h>
-#include <tchar.h>
 #include <stdio.h>
-#include <conio.h>
 #include <stdarg.h>
+#include <conio.h>
 
-#define NDEBUG
-#include <debug.h>
+#define WIN32_NO_STATUS
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <wincon.h>
+#include <winnls.h>
+#include <winreg.h>
+#include <winuser.h>
+#include <subsys/win/vdm.h>
 
-/* DEFINES ********************************************************************/
+#include <vddsvc.h>
+
+#include <debug.h>
 
-#define TO_LINEAR(seg, off) (((seg) << 4) + (off))
-#define MAX_SEGMENT 0xFFFF
-#define MAX_OFFSET 0xFFFF
-#define MAX_ADDRESS TO_LINEAR(MAX_SEGMENT, MAX_OFFSET)
-#define STEPS_PER_CYCLE 256
+DWORD WINAPI SetLastConsoleEventActive(VOID);
 
 /* FUNCTIONS ******************************************************************/
 
-extern LPVOID BaseAddress;
-extern BOOLEAN VdmRunning;
-extern LPCWSTR ExceptionName[];
+extern HANDLE VdmTaskEvent;
 
 VOID DisplayMessage(LPCWSTR Format, ...);
 
-#endif
+#endif // _NTVDM_H_
 
 /* EOF */