mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00:00
9b7d069e2e
Send the specified task ID to CSRSS in GetNextVDMCommand. In ntvdm, parse the command line parameters to find the session ID, and pass it in every call to GetNextVDMCommand. svn path=/branches/ntvdm/; revision=63121
44 lines
981 B
C
44 lines
981 B
C
/*
|
|
* COPYRIGHT: GPL - See COPYING in the top level directory
|
|
* PROJECT: ReactOS Virtual DOS Machine
|
|
* FILE: ntvdm.h
|
|
* PURPOSE: Header file to define commonly used stuff
|
|
* PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
|
|
*/
|
|
|
|
#ifndef _NTVDM_H_
|
|
#define _NTVDM_H_
|
|
|
|
/* INCLUDES *******************************************************************/
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <conio.h>
|
|
#include <wchar.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>
|
|
|
|
DWORD WINAPI SetLastConsoleEventActive(VOID);
|
|
|
|
/* FUNCTIONS ******************************************************************/
|
|
|
|
extern ULONG SessionId;
|
|
extern HANDLE VdmTaskEvent;
|
|
|
|
VOID DisplayMessage(LPCWSTR Format, ...);
|
|
|
|
#endif // _NTVDM_H_
|
|
|
|
/* EOF */
|