[NTVDM]
[reactos.git] / subsystems / ntvdm / ntvdm.h
index 9a04e0d..3f02e21 100644 (file)
 
 /* INCLUDES *******************************************************************/
 
-#include <windows.h>
 #include <stdio.h>
-#include <conio.h>
 #include <stdarg.h>
+#include <conio.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>
+
+#include <vddsvc.h>
+
 #include <debug.h>
 
-/* DEFINES ********************************************************************/
+/* PROTOTYPES *****************************************************************/
 
-#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
+BOOL
+WINAPI
+GetNextVDMCommand(
+    IN OUT PVDM_COMMAND_INFO CommandData OPTIONAL
+);
 
-/* FUNCTIONS ******************************************************************/
+VOID
+WINAPI
+ExitVDM(
+    IN BOOL IsWow,
+    IN ULONG iWowTask
+);
 
-extern LPVOID BaseAddress;
-extern BOOLEAN VdmRunning;
-extern LPCWSTR ExceptionName[];
+/* FUNCTIONS ******************************************************************/
 
 VOID DisplayMessage(LPCWSTR Format, ...);
 
-#endif
+#endif // _NTVDM_H_
 
 /* EOF */