ReactOS  0.4.14-dev-342-gdc047f9
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 
13 BOOL
14 NTAPI
16  IN PWCHAR lpEnvironment,
17  OUT PANSI_STRING AnsiEnv,
18  OUT PUNICODE_STRING UnicodeEnv
19 );
20 
21 BOOL
22 NTAPI
24  IN PANSI_STRING AnsiEnv,
25  IN PUNICODE_STRING UnicodeEnv
26 );
27 
28 BOOL
29 WINAPI
31  IN LPCWSTR CommandLineReserved,
32  IN ULONG DosSeqId,
33  IN ULONG BinaryType,
34  IN PUNICODE_STRING CmdLineString,
35  OUT PULONG VdmSize
36 );
37 
38 BOOL
39 WINAPI
41  IN ULONG UpdateIndex,
42  IN OUT PHANDLE WaitHandle,
43  IN ULONG IndexInfo,
44  IN ULONG BinaryType
45 );
46 
47 BOOL
48 WINAPI
51  OUT LPDWORD ExitCode
52 );
53 
55 WINAPI
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 */
CONST WCHAR * PCWCH
Definition: ntbasedef.h:418
#define IN
Definition: typedefs.h:38
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
WCHAR CurrentDirectory[1024]
Definition: chkdsk.c:74
BOOL NTAPI BaseCreateVDMEnvironment(IN PWCHAR lpEnvironment, OUT PANSI_STRING AnsiEnv, OUT PUNICODE_STRING UnicodeEnv)
Definition: vdm.c:736
LONG NTSTATUS
Definition: precomp.h:26
SIZE_T LPSTARTUPINFOW
Definition: cordebug.idl:85
uint16_t * PWCHAR
Definition: typedefs.h:54
BOOL NTAPI BaseDestroyVDMEnvironment(IN PANSI_STRING AnsiEnv, IN PUNICODE_STRING UnicodeEnv)
Definition: vdm.c:1026
BOOL WINAPI BaseUpdateVDMEntry(IN ULONG UpdateIndex, IN OUT PHANDLE WaitHandle, IN ULONG IndexInfo, IN ULONG BinaryType)
Definition: vdm.c:534
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI BaseGetVdmConfigInfo(IN LPCWSTR CommandLineReserved, IN ULONG DosSeqId, IN ULONG BinaryType, IN PUNICODE_STRING CmdLineString, OUT PULONG VdmSize)
Definition: vdm.c:644
HANDLE hUserToken
Definition: install.c:39
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI BaseCheckForVDM(IN HANDLE ProcessHandle, OUT LPDWORD ExitCode)
Definition: vdm.c:610
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
PVOID PVOID PWCHAR ApplicationName
Definition: env.c:45
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39
uint32_t * LPDWORD
Definition: typedefs.h:57
unsigned int ULONG
Definition: retypes.h:1
_In_ HANDLE ProcessHandle
Definition: mmfuncs.h:403
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
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68