X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=subsystems%2Fntvdm%2Fntvdm.h;h=3555ce41d6b48f24b670a45fd6361406e8f95f11;hp=9a04e0d3d2bd2c5297588b9ed987a0747f4a201b;hb=9b7d069e2eda4655576313bac4f4dbca9223f940;hpb=f66525ee02257ec70732abc74034a2161e12190b diff --git a/subsystems/ntvdm/ntvdm.h b/subsystems/ntvdm/ntvdm.h index 9a04e0d3d2b..3555ce41d6b 100644 --- a/subsystems/ntvdm/ntvdm.h +++ b/subsystems/ntvdm/ntvdm.h @@ -11,29 +11,34 @@ /* INCLUDES *******************************************************************/ -#include #include -#include #include -#include +#include +#include -/* DEFINES ********************************************************************/ +#define WIN32_NO_STATUS +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include -#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, ...); -#endif +#endif // _NTVDM_H_ /* EOF */