[NTVDM][KERNEL32]
[reactos.git] / subsystems / ntvdm / ntvdm.h
index f343548..3555ce4 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
-#include <windows.h>
 #include <stdio.h>
-#include <conio.h>
 #include <stdarg.h>
-#include <debug.h>
-#include <limits.h>
+#include <conio.h>
+#include <wchar.h>
 
-/* DEFINES ********************************************************************/
+#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>
+
+#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 FAR_POINTER(x) ((ULONG_PTR)BaseAddress + TO_LINEAR(HIWORD(x), LOWORD(x)))
-#define STEPS_PER_CYCLE 256
+DWORD WINAPI SetLastConsoleEventActive(VOID);
 
 /* FUNCTIONS ******************************************************************/
 
-extern LPVOID BaseAddress;
-extern BOOLEAN VdmRunning;
-extern LPCWSTR ExceptionName[];
+extern ULONG SessionId;
+extern HANDLE VdmTaskEvent;
 
 VOID DisplayMessage(LPCWSTR Format, ...);