ReactOS 0.4.15-dev-8116-gf69e256
vdm.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS System Libraries
4 * FILE: dll/win32/kernel32/include/vdm.h
5 * PURPOSE: Virtual DOS Machines (VDM) Support Definitions
6 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org)
7 */
8
9#pragma once
10
11/* FUNCTION PROTOTYPES ********************************************************/
12
13BOOL
16 IN PWCHAR lpEnvironment,
17 OUT PANSI_STRING AnsiEnv,
18 OUT PUNICODE_STRING UnicodeEnv
19);
20
21BOOL
24 IN PANSI_STRING AnsiEnv,
25 IN PUNICODE_STRING UnicodeEnv
26);
27
28BOOL
31 IN LPCWSTR CommandLineReserved,
32 IN ULONG DosSeqId,
33 IN ULONG BinaryType,
34 IN PUNICODE_STRING CmdLineString,
35 OUT PULONG VdmSize
36);
37
38BOOL
41 IN ULONG UpdateIndex,
42 IN OUT PHANDLE WaitHandle,
43 IN ULONG IndexInfo,
44 IN ULONG BinaryType
45);
46
47BOOL
51 OUT LPDWORD ExitCode
52);
53
57 IN ULONG BinaryType,
59 IN PCWCH CommandLine,
61 IN PANSI_STRING AnsiEnvironment,
62 IN PBASE_API_MESSAGE ApiMessage,
63 IN OUT PULONG iTask,
64 IN DWORD CreationFlags,
65 IN LPSTARTUPINFOW StartupInfo,
67);
68
69/* EOF */
LONG NTSTATUS
Definition: precomp.h:26
HANDLE hUserToken
Definition: install.c:39
WCHAR CurrentDirectory[1024]
Definition: chkdsk.c:74
SIZE_T LPSTARTUPINFOW
Definition: cordebug.idl:85
BOOL NTAPI BaseDestroyVDMEnvironment(IN PANSI_STRING AnsiEnv, IN PUNICODE_STRING UnicodeEnv)
Definition: vdm.c:1034
BOOL WINAPI BaseGetVdmConfigInfo(IN LPCWSTR CommandLineReserved, IN ULONG DosSeqId, IN ULONG BinaryType, IN PUNICODE_STRING CmdLineString, OUT PULONG VdmSize)
Definition: vdm.c:652
BOOL WINAPI BaseCheckForVDM(IN HANDLE ProcessHandle, OUT LPDWORD ExitCode)
Definition: vdm.c:618
BOOL WINAPI BaseUpdateVDMEntry(IN ULONG UpdateIndex, IN OUT PHANDLE WaitHandle, IN ULONG IndexInfo, IN ULONG BinaryType)
Definition: vdm.c:542
BOOL NTAPI BaseCreateVDMEnvironment(IN PWCHAR lpEnvironment, OUT PANSI_STRING AnsiEnv, OUT PUNICODE_STRING UnicodeEnv)
Definition: vdm.c:744
NTSTATUS WINAPI BaseCheckVDM(IN ULONG BinaryType, IN PCWCH ApplicationName, IN PCWCH CommandLine, IN PCWCH CurrentDirectory, IN PANSI_STRING AnsiEnvironment, IN PBASE_API_MESSAGE ApiMessage, IN OUT PULONG iTask, IN DWORD CreationFlags, IN LPSTARTUPINFOW StartupInfo, IN HANDLE hUserToken OPTIONAL)
Definition: vdm.c:91
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
PVOID PVOID PWCHAR ApplicationName
Definition: env.c:47
_In_ HANDLE ProcessHandle
Definition: mmfuncs.h:403
CONST WCHAR * PCWCH
Definition: ntbasedef.h:411
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
uint32_t * LPDWORD
Definition: typedefs.h:59
#define IN
Definition: typedefs.h:39
uint16_t * PWCHAR
Definition: typedefs.h:56
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185