ReactOS  0.4.14-dev-98-gb0d4763
basemsg.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: include/reactos/subsys/win/basemsg.h
5  * PURPOSE: Public definitions for communication
6  * between Base API Clients and Servers
7  * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr)
8  */
9 
10 #ifndef _BASEMSG_H
11 #define _BASEMSG_H
12 
13 #pragma once
14 
15 #define BASESRV_SERVERDLL_INDEX 1
16 #define BASESRV_FIRST_API_NUMBER 0
17 
18 // Windows Server 2003 table from http://j00ru.vexillium.org/csrss_list/api_list.html#Windows_2k3
19 typedef enum _BASESRV_API_NUMBER
20 {
25  BasepDebugProcess, // Deprecated
49  BasepDebugProcessStop, // Alias to BasepDebugProcess, deprecated
52 
55 
57 {
60 
61 #if defined(_M_IX86)
62 C_ASSERT(sizeof(BASESRV_API_CONNECTINFO) == 0x04);
63 #endif
64 
65 
67 {
83 
84 typedef struct _BASE_CREATE_PROCESS
85 {
86  //
87  // NT-type structure (BASE_CREATEPROCESS_MSG)
88  //
101 
102 typedef struct _BASE_CREATE_THREAD
103 {
107 
108 typedef struct _BASE_GET_TEMP_FILE
109 {
112 
113 typedef struct _BASE_EXIT_PROCESS
114 {
117 
118 typedef struct _BASE_CHECK_VDM
119 {
149 
151 {
160 
162 {
193 
194 typedef struct _BASE_EXIT_VDM
195 {
200 
201 typedef struct _BASE_IS_FIRST_VDM
202 {
205 
207 {
212 
214 {
218 
220 {
224 
226 {
231 
233 {
237 
239 {
242 
243 typedef struct _BASE_SOUND_SENTRY
244 {
247 
249 {
252 
254 {
259 
261 {
266 
268 {
269  PVOID /*PNLS_USER_INFO*/ NlsUserInfo;
272 
273 typedef struct _BASE_API_MESSAGE
274 {
276 
281  union
282  {
303  } Data;
305 
306 // Check that a BASE_API_MESSAGE can hold in a CSR_API_MESSAGE.
308 
309 #endif // _BASEMSG_H
310 
311 /* EOF */
ULONG CSR_API_NUMBER
Definition: csrmsg.h:35
BASE_SXS_CREATEPROCESS_MSG Sxs
Definition: basemsg.h:96
signed char * PCHAR
Definition: retypes.h:7
struct _BASE_BAT_NOTIFICATION BASE_BAT_NOTIFICATION
UNICODE_STRING TargetPath
Definition: basemsg.h:257
BASE_CREATE_THREAD CreateThreadRequest
Definition: basemsg.h:284
HANDLE StdOut
Definition: basemsg.h:125
BASE_GET_VDM_EXIT_CODE GetVDMExitCodeRequest
Definition: basemsg.h:292
struct _BASE_SOUND_SENTRY * PBASE_SOUND_SENTRY
BASE_REGISTER_WOWEXEC RegisterWowExecRequest
Definition: basemsg.h:297
HANDLE WaitObjectForVDM
Definition: basemsg.h:198
PCHAR AppName
Definition: basemsg.h:130
struct _BASE_BAT_NOTIFICATION * PBASE_BAT_NOTIFICATION
struct _BASE_GETSET_PROCESS_SHUTDOWN_PARAMS BASE_GETSET_PROCESS_SHUTDOWN_PARAMS
Definition: basemsg.h:150
PCHAR CmdLine
Definition: basemsg.h:129
BASE_REFRESH_INIFILE_MAPPING RefreshIniFileMappingRequest
Definition: basemsg.h:299
BASE_UPDATE_VDM_ENTRY UpdateVDMEntryRequest
Definition: basemsg.h:288
struct _BASE_GET_TEMP_FILE BASE_GET_TEMP_FILE
struct _BASE_GET_TEMP_FILE * PBASE_GET_TEMP_FILE
struct _BASE_SXS_CREATEPROCESS_MSG * PBASE_SXS_CREATEPROCESS_MSG
ULONG DesktopLen
Definition: basemsg.h:137
struct _BASE_NLS_CREATE_SECTION BASE_NLS_CREATE_SECTION
struct _BASE_SXS_CREATEPROCESS_MSG BASE_SXS_CREATEPROCESS_MSG
struct _BASE_REFRESH_INIFILE_MAPPING * PBASE_REFRESH_INIFILE_MAPPING
BASE_CREATE_PROCESS CreateProcessRequest
Definition: basemsg.h:283
LONG NTSTATUS
Definition: precomp.h:26
UNICODE_STRING CultureFallbacks
Definition: basemsg.h:79
struct _BASE_EXIT_VDM BASE_EXIT_VDM
BASE_NLS_CREATE_SECTION NlsCreateSection
Definition: basemsg.h:301
PCHAR CurDirectory
Definition: basemsg.h:132
struct _BASE_CHECK_VDM * PBASE_CHECK_VDM
struct _BASE_REFRESH_INIFILE_MAPPING BASE_REFRESH_INIFILE_MAPPING
struct _BASE_SET_REENTER_COUNT * PBASE_SET_REENTER_COUNT
UNICODE_STRING IniFileName
Definition: basemsg.h:250
USHORT PifLen
Definition: basemsg.h:144
PCSR_CAPTURE_BUFFER CsrCaptureData
Definition: basemsg.h:277
BASE_EXIT_VDM ExitVDMRequest
Definition: basemsg.h:290
struct _BASE_IS_FIRST_VDM * PBASE_IS_FIRST_VDM
struct _BASE_GET_VDM_EXIT_CODE BASE_GET_VDM_EXIT_CODE
struct _BASE_GET_NEXT_VDM_COMMAND * PBASE_GET_NEXT_VDM_COMMAND
ULONG BinaryType
Definition: basemsg.h:153
struct _BASE_SOUND_SENTRY BASE_SOUND_SENTRY
ULONG TitleLen
Definition: basemsg.h:139
struct _BASE_API_MESSAGE BASE_API_MESSAGE
HANDLE ThreadHandle
Definition: basemsg.h:90
NTSTATUS Status
Definition: basemsg.h:279
enum _BASESRV_API_NUMBER * PBASESRV_API_NUMBER
struct _BASE_CREATE_THREAD * PBASE_CREATE_THREAD
BASE_DEFINE_DOS_DEVICE DefineDosDeviceRequest
Definition: basemsg.h:300
BASE_GETSET_PROCESS_SHUTDOWN_PARAMS ShutdownParametersRequest
Definition: basemsg.h:294
union _BASE_API_MESSAGE::@3392 Data
UNICODE_STRING SxsNtExePath
Definition: basemsg.h:72
ULONG dwCreationFlags
Definition: basemsg.h:128
BASE_IS_FIRST_VDM IsFirstVDMRequest
Definition: basemsg.h:291
HANDLE WaitObjectForParent
Definition: basemsg.h:123
HANDLE StdErr
Definition: basemsg.h:126
UNICODE_STRING DeviceName
Definition: basemsg.h:256
struct _BASE_API_MESSAGE * PBASE_API_MESSAGE
BASE_CHECK_VDM CheckVDMRequest
Definition: basemsg.h:287
struct _BASE_EXIT_PROCESS * PBASE_EXIT_PROCESS
HANDLE ThreadHandle
Definition: basemsg.h:104
BASE_GET_TEMP_FILE GetTempFileRequest
Definition: basemsg.h:285
#define C_ASSERT(e)
Definition: intsafe.h:79
HANDLE WaitObjectForParent
Definition: basemsg.h:156
BASE_EXIT_PROCESS ExitProcessRequest
Definition: basemsg.h:286
USHORT CmdLen
Definition: basemsg.h:142
struct _BASE_REGISTER_WOWEXEC BASE_REGISTER_WOWEXEC
LPSTARTUPINFOA StartupInfo
Definition: basemsg.h:178
struct _BASE_NLS_CREATE_SECTION * PBASE_NLS_CREATE_SECTION
ULONG iWowTask
Definition: basemsg.h:197
BASE_SET_REENTER_COUNT SetReenterCountRequest
Definition: basemsg.h:293
struct _BASESRV_API_CONNECTINFO * PBASESRV_API_CONNECTINFO
USHORT CurDrive
Definition: basemsg.h:146
BASE_GET_NEXT_VDM_COMMAND GetNextVDMCommandRequest
Definition: basemsg.h:289
CLIENT_ID ClientId
Definition: basemsg.h:105
struct _BASE_DEFINE_DOS_DEVICE BASE_DEFINE_DOS_DEVICE
ULONG iTask
Definition: basemsg.h:152
struct _BASE_GETSET_VDM_CURDIRS BASE_GETSET_VDM_CURDIRS
BASE_GETSET_VDM_CURDIRS VDMCurrentDirsRequest
Definition: basemsg.h:295
HANDLE ProcessHandle
Definition: basemsg.h:89
#define BASESRV_FIRST_API_NUMBER
Definition: basemsg.h:16
UNICODE_STRING SxsWin32ExePath
Definition: basemsg.h:71
PCHAR PifFile
Definition: basemsg.h:131
HANDLE StdIn
Definition: basemsg.h:124
struct _BASE_GETSET_PROCESS_SHUTDOWN_PARAMS * PBASE_GETSET_PROCESS_SHUTDOWN_PARAMS
struct _BASE_NLS_GET_USER_INFO * PBASE_NLS_GET_USER_INFO
struct _BASE_DEFINE_DOS_DEVICE * PBASE_DEFINE_DOS_DEVICE
BASE_SOUND_SENTRY SoundSentryRequest
Definition: basemsg.h:298
PORT_MESSAGE Header
Definition: basemsg.h:275
LPSTARTUPINFOA StartupInfo
Definition: basemsg.h:135
struct _BASE_GET_VDM_EXIT_CODE * PBASE_GET_VDM_EXIT_CODE
struct _BASE_CREATE_PROCESS BASE_CREATE_PROCESS
CHECK_API_MSG_SIZE(BASE_API_MESSAGE)
USHORT EntryIndex
Definition: basemsg.h:157
struct _BASE_EXIT_PROCESS BASE_EXIT_PROCESS
struct _BASE_UPDATE_VDM_ENTRY BASE_UPDATE_VDM_ENTRY
struct _BASE_REGISTER_WOWEXEC * PBASE_REGISTER_WOWEXEC
ULONG_PTR SIZE_T
Definition: typedefs.h:78
enum _BASESRV_API_NUMBER BASESRV_API_NUMBER
struct _BASE_CREATE_THREAD BASE_CREATE_THREAD
USHORT VDMCreationState
Definition: basemsg.h:158
struct _BASE_NLS_GET_USER_INFO BASE_NLS_GET_USER_INFO
CSR_API_NUMBER ApiNumber
Definition: basemsg.h:278
struct _BASE_CREATE_PROCESS * PBASE_CREATE_PROCESS
ULONG BinaryType
Definition: basemsg.h:122
unsigned short USHORT
Definition: pedump.c:61
BASE_NLS_GET_USER_INFO NlsGetUserInfo
Definition: basemsg.h:302
struct _BASE_EXIT_VDM * PBASE_EXIT_VDM
struct _BASE_GETSET_VDM_CURDIRS * PBASE_GETSET_VDM_CURDIRS
BASE_BAT_NOTIFICATION BatNotificationRequest
Definition: basemsg.h:296
PCHAR Desktop
Definition: basemsg.h:136
HANDLE VDMProcessHandle
Definition: basemsg.h:155
unsigned int UINT
Definition: ndis.h:50
struct _BASESRV_API_CONNECTINFO BASESRV_API_CONNECTINFO
HANDLE ConsoleHandle
Definition: basemsg.h:154
USHORT ProcessorArchitecture
Definition: basemsg.h:99
USHORT VDMState
Definition: basemsg.h:147
HANDLE ConsoleHandle
Definition: basemsg.h:196
PVOID PebAddressNative
Definition: basemsg.h:97
struct _BASE_CHECK_VDM BASE_CHECK_VDM
ULONG PebAddressWow64
Definition: basemsg.h:98
CLIENT_ID ClientId
Definition: basemsg.h:91
struct _BASE_GET_NEXT_VDM_COMMAND BASE_GET_NEXT_VDM_COMMAND
unsigned int ULONG
Definition: retypes.h:1
ULONG CodePage
Definition: basemsg.h:127
USHORT CurDirectoryLen
Definition: basemsg.h:145
ULONG ReservedLen
Definition: basemsg.h:141
ULONG EnvLen
Definition: basemsg.h:134
struct _BASE_IS_FIRST_VDM BASE_IS_FIRST_VDM
PCHAR Reserved
Definition: basemsg.h:140
_BASESRV_API_NUMBER
Definition: basemsg.h:19
struct _BASE_SET_REENTER_COUNT BASE_SET_REENTER_COUNT
UNICODE_STRING AssemblyName
Definition: basemsg.h:81
struct _BASE_UPDATE_VDM_ENTRY * PBASE_UPDATE_VDM_ENTRY
USHORT AppLen
Definition: basemsg.h:143
HANDLE ConsoleHandle
Definition: basemsg.h:121