ReactOS 0.4.16-dev-88-ga65b6ae
vdm.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Base API Server DLL
4 * FILE: subsystems/win/basesrv/vdm.h
5 * PURPOSE: VDM Definitions
6 * PROGRAMMERS: Aleksandar Andrejevic <theflash AT sdf DOT lonestar DOT org>
7 */
8
9#ifndef __VDM_H__
10#define __VDM_H__
11
12#include <win/vdm.h>
13
14/* DEFINITIONS ****************************************************************/
15
16#define VDM_POLICY_KEY_NAME L"Software\\Policies\\Microsoft\\Windows\\AppCompat"
17#define VDM_DISALLOWED_VALUE_NAME L"VDMDisallowed"
18
19typedef struct _VDM_CONSOLE_RECORD
20{
33
34typedef struct _VDM_DOS_RECORD
35{
43
44/* FUNCTIONS ******************************************************************/
45
48
52
53#endif // __VDM_H__
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
unsigned short USHORT
Definition: pedump.c:61
Definition: typedefs.h:120
HANDLE ServerEvent
Definition: vdm.h:24
HANDLE ProcessHandle
Definition: vdm.h:23
ULONG SessionId
Definition: vdm.h:30
HANDLE ConsoleHandle
Definition: vdm.h:22
LIST_ENTRY Entry
Definition: vdm.h:21
PCHAR CurrentDirs
Definition: vdm.h:28
LIST_ENTRY DosListHead
Definition: vdm.h:31
ULONG CurDirsLength
Definition: vdm.h:29
ULONG ReenterCount
Definition: vdm.h:27
ULONG ProcessId
Definition: vdm.h:26
HANDLE ClientEvent
Definition: vdm.h:25
HANDLE ClientEvent
Definition: vdm.h:40
HANDLE ServerEvent
Definition: vdm.h:39
ULONG ExitCode
Definition: vdm.h:38
LIST_ENTRY Entry
Definition: vdm.h:36
USHORT State
Definition: vdm.h:37
PVDM_COMMAND_INFO CommandInfo
Definition: vdm.h:41
struct _VDM_CONSOLE_RECORD VDM_CONSOLE_RECORD
struct _VDM_CONSOLE_RECORD * PVDM_CONSOLE_RECORD
VOID BaseSrvCleanupVDMResources(IN PCSR_PROCESS CsrProcess)
Definition: vdm.c:296
NTSTATUS BaseSrvGetConsoleRecord(HANDLE ConsoleHandle, PVDM_CONSOLE_RECORD *Record)
Definition: vdm.c:49
VOID BaseInitializeVDM(VOID)
Definition: vdm.c:587
struct _VDM_DOS_RECORD * PVDM_DOS_RECORD
NTSTATUS GetConsoleRecordBySessionId(ULONG TaskId, PVDM_CONSOLE_RECORD *Record)
Definition: vdm.c:94
struct _VDM_DOS_RECORD VDM_DOS_RECORD
BOOLEAN BaseSrvIsVdmAllowed(VOID)
Definition: vdm.c:142
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51
PKPROCESS CsrProcess
Definition: videoprt.c:39
_In_ struct _KBUGCHECK_REASON_CALLBACK_RECORD * Record
Definition: ketypes.h:268