ReactOS 0.4.15-dev-8235-gcd88a97
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
20{
25 BasepDebugProcess, // Deprecated
49 BasepDebugProcessStop, // Alias to BasepDebugProcess, deprecated
52
55
57{
60
61#if defined(_M_IX86)
62C_ASSERT(sizeof(BASESRV_API_CONNECTINFO) == 0x04);
63#endif
64
65
67{
83
85{
86 //
87 // NT-type structure (BASE_CREATEPROCESS_MSG)
88 //
101
103{
107
109{
112
113typedef struct _BASE_EXIT_PROCESS
114{
117
118typedef struct _BASE_CHECK_VDM
119{
149
151{
160
162{
193
194typedef struct _BASE_EXIT_VDM
195{
200
201typedef struct _BASE_IS_FIRST_VDM
202{
205
207{
212
214{
218
220{
224
226{
231
233{
237
239{
242
243typedef struct _BASE_SOUND_SENTRY
244{
247
249{
252
254{
259
261{
266
268{
269 PVOID /*PNLS_USER_INFO*/ NlsUserInfo;
272
273typedef struct _BASE_API_MESSAGE
274{
276
281 union
282 {
305
306// Check that a BASE_API_MESSAGE can hold in a CSR_API_MESSAGE.
308
309#endif // _BASEMSG_H
310
311/* EOF */
LONG NTSTATUS
Definition: precomp.h:26
struct _BASE_GETSET_VDM_CURDIRS BASE_GETSET_VDM_CURDIRS
struct _BASE_DEFINE_DOS_DEVICE * PBASE_DEFINE_DOS_DEVICE
struct _BASE_GETSET_PROCESS_SHUTDOWN_PARAMS * PBASE_GETSET_PROCESS_SHUTDOWN_PARAMS
struct _BASE_GET_VDM_EXIT_CODE * PBASE_GET_VDM_EXIT_CODE
struct _BASE_API_MESSAGE * PBASE_API_MESSAGE
struct _BASE_REFRESH_INIFILE_MAPPING * PBASE_REFRESH_INIFILE_MAPPING
#define BASESRV_FIRST_API_NUMBER
Definition: basemsg.h:16
struct _BASE_GET_TEMP_FILE BASE_GET_TEMP_FILE
struct _BASE_GET_TEMP_FILE * PBASE_GET_TEMP_FILE
struct _BASE_GETSET_VDM_CURDIRS * PBASE_GETSET_VDM_CURDIRS
struct _BASE_CHECK_VDM BASE_CHECK_VDM
struct _BASE_EXIT_PROCESS * PBASE_EXIT_PROCESS
struct _BASE_EXIT_VDM * PBASE_EXIT_VDM
struct _BASE_BAT_NOTIFICATION BASE_BAT_NOTIFICATION
struct _BASE_REFRESH_INIFILE_MAPPING BASE_REFRESH_INIFILE_MAPPING
struct _BASE_GETSET_PROCESS_SHUTDOWN_PARAMS BASE_GETSET_PROCESS_SHUTDOWN_PARAMS
struct _BASE_NLS_GET_USER_INFO * PBASE_NLS_GET_USER_INFO
struct _BASE_EXIT_VDM BASE_EXIT_VDM
struct _BASE_GET_NEXT_VDM_COMMAND * PBASE_GET_NEXT_VDM_COMMAND
struct _BASE_NLS_GET_USER_INFO BASE_NLS_GET_USER_INFO
enum _BASESRV_API_NUMBER BASESRV_API_NUMBER
struct _BASE_SET_REENTER_COUNT * PBASE_SET_REENTER_COUNT
struct _BASE_CREATE_PROCESS BASE_CREATE_PROCESS
struct _BASE_UPDATE_VDM_ENTRY * PBASE_UPDATE_VDM_ENTRY
struct _BASE_NLS_CREATE_SECTION * PBASE_NLS_CREATE_SECTION
struct _BASE_REGISTER_WOWEXEC * PBASE_REGISTER_WOWEXEC
struct _BASE_CHECK_VDM * PBASE_CHECK_VDM
struct _BASE_CREATE_THREAD * PBASE_CREATE_THREAD
struct _BASE_DEFINE_DOS_DEVICE BASE_DEFINE_DOS_DEVICE
struct _BASE_NLS_CREATE_SECTION BASE_NLS_CREATE_SECTION
struct _BASE_SOUND_SENTRY * PBASE_SOUND_SENTRY
struct _BASESRV_API_CONNECTINFO BASESRV_API_CONNECTINFO
struct _BASE_UPDATE_VDM_ENTRY BASE_UPDATE_VDM_ENTRY
struct _BASE_API_MESSAGE BASE_API_MESSAGE
struct _BASE_CREATE_PROCESS * PBASE_CREATE_PROCESS
struct _BASE_EXIT_PROCESS BASE_EXIT_PROCESS
_BASESRV_API_NUMBER
Definition: basemsg.h:20
@ BasepGetTempFile
Definition: basemsg.h:23
@ BasepSetTermsrvClientTimeZone
Definition: basemsg.h:47
@ BasepNlsGetUserInfo
Definition: basemsg.h:51
@ BasepCreateThread
Definition: basemsg.h:22
@ BasepNlsSetUserInfo
Definition: basemsg.h:35
@ BasepIsFirstVDM
Definition: basemsg.h:30
@ BasepCreateProcess
Definition: basemsg.h:21
@ BasepGetNextVDMCommand
Definition: basemsg.h:28
@ BasepGetVDMCurDirs
Definition: basemsg.h:39
@ BasepNlsUpdateCacheCount
Definition: basemsg.h:46
@ BasepRegisterWowExec
Definition: basemsg.h:41
@ BasepSetVDMCurDirs
Definition: basemsg.h:38
@ BasepCheckVDM
Definition: basemsg.h:26
@ BasepExitVDM
Definition: basemsg.h:29
@ BasepNlsCreateSection
Definition: basemsg.h:37
@ BasepGetVDMExitCode
Definition: basemsg.h:31
@ BasepSoundSentryNotification
Definition: basemsg.h:42
@ BasepDebugProcess
Definition: basemsg.h:25
@ BasepRegisterThread
Definition: basemsg.h:50
@ BasepGetProcessShutdownParam
Definition: basemsg.h:34
@ BasepRefreshIniFileMapping
Definition: basemsg.h:43
@ BasepDebugProcessStop
Definition: basemsg.h:49
@ BasepNlsSetMultipleUserInfo
Definition: basemsg.h:36
@ BasepSxsCreateActivationContext
Definition: basemsg.h:48
@ BasepBatNotification
Definition: basemsg.h:40
@ BasepSetProcessShutdownParam
Definition: basemsg.h:33
@ BasepSetTermsrvAppInstallMode
Definition: basemsg.h:45
@ BasepUpdateVDMEntry
Definition: basemsg.h:27
@ BasepExitProcess
Definition: basemsg.h:24
@ BasepSetReenterCount
Definition: basemsg.h:32
@ BasepMaxApiNumber
Definition: basemsg.h:53
@ BasepDefineDosDevice
Definition: basemsg.h:44
struct _BASE_IS_FIRST_VDM BASE_IS_FIRST_VDM
struct _BASE_GET_NEXT_VDM_COMMAND BASE_GET_NEXT_VDM_COMMAND
struct _BASE_IS_FIRST_VDM * PBASE_IS_FIRST_VDM
struct _BASESRV_API_CONNECTINFO * PBASESRV_API_CONNECTINFO
struct _BASE_GET_VDM_EXIT_CODE BASE_GET_VDM_EXIT_CODE
struct _BASE_CREATE_THREAD BASE_CREATE_THREAD
struct _BASE_SXS_CREATEPROCESS_MSG * PBASE_SXS_CREATEPROCESS_MSG
struct _BASE_SOUND_SENTRY BASE_SOUND_SENTRY
struct _BASE_SET_REENTER_COUNT BASE_SET_REENTER_COUNT
struct _BASE_BAT_NOTIFICATION * PBASE_BAT_NOTIFICATION
enum _BASESRV_API_NUMBER * PBASESRV_API_NUMBER
struct _BASE_SXS_CREATEPROCESS_MSG BASE_SXS_CREATEPROCESS_MSG
struct _BASE_REGISTER_WOWEXEC BASE_REGISTER_WOWEXEC
#define CHECK_API_MSG_SIZE(type)
Definition: csrmsg.h:148
ULONG CSR_API_NUMBER
Definition: csrmsg.h:35
#define C_ASSERT(e)
Definition: intsafe.h:73
unsigned int UINT
Definition: ndis.h:50
unsigned short USHORT
Definition: pedump.c:61
NTSTATUS Status
Definition: basemsg.h:279
BASE_SOUND_SENTRY SoundSentryRequest
Definition: basemsg.h:298
BASE_REGISTER_WOWEXEC RegisterWowExecRequest
Definition: basemsg.h:297
BASE_REFRESH_INIFILE_MAPPING RefreshIniFileMappingRequest
Definition: basemsg.h:299
union _BASE_API_MESSAGE::@3551 Data
PORT_MESSAGE Header
Definition: basemsg.h:275
BASE_GETSET_VDM_CURDIRS VDMCurrentDirsRequest
Definition: basemsg.h:295
BASE_CREATE_PROCESS CreateProcessRequest
Definition: basemsg.h:283
BASE_GET_TEMP_FILE GetTempFileRequest
Definition: basemsg.h:285
BASE_EXIT_PROCESS ExitProcessRequest
Definition: basemsg.h:286
BASE_DEFINE_DOS_DEVICE DefineDosDeviceRequest
Definition: basemsg.h:300
BASE_UPDATE_VDM_ENTRY UpdateVDMEntryRequest
Definition: basemsg.h:288
PCSR_CAPTURE_BUFFER CsrCaptureData
Definition: basemsg.h:277
BASE_SET_REENTER_COUNT SetReenterCountRequest
Definition: basemsg.h:293
BASE_BAT_NOTIFICATION BatNotificationRequest
Definition: basemsg.h:296
BASE_IS_FIRST_VDM IsFirstVDMRequest
Definition: basemsg.h:291
BASE_NLS_CREATE_SECTION NlsCreateSection
Definition: basemsg.h:301
BASE_EXIT_VDM ExitVDMRequest
Definition: basemsg.h:290
BASE_NLS_GET_USER_INFO NlsGetUserInfo
Definition: basemsg.h:302
BASE_GETSET_PROCESS_SHUTDOWN_PARAMS ShutdownParametersRequest
Definition: basemsg.h:294
BASE_CREATE_THREAD CreateThreadRequest
Definition: basemsg.h:284
BASE_CHECK_VDM CheckVDMRequest
Definition: basemsg.h:287
CSR_API_NUMBER ApiNumber
Definition: basemsg.h:278
BASE_GET_NEXT_VDM_COMMAND GetNextVDMCommandRequest
Definition: basemsg.h:289
BASE_GET_VDM_EXIT_CODE GetVDMExitCodeRequest
Definition: basemsg.h:292
ULONG EnvLen
Definition: basemsg.h:134
USHORT CurDrive
Definition: basemsg.h:146
ULONG CodePage
Definition: basemsg.h:127
ULONG TitleLen
Definition: basemsg.h:139
PCHAR Desktop
Definition: basemsg.h:136
USHORT CurDirectoryLen
Definition: basemsg.h:145
USHORT VDMState
Definition: basemsg.h:147
HANDLE StdOut
Definition: basemsg.h:125
HANDLE WaitObjectForParent
Definition: basemsg.h:123
PCHAR PifFile
Definition: basemsg.h:131
HANDLE StdErr
Definition: basemsg.h:126
ULONG ReservedLen
Definition: basemsg.h:141
HANDLE ConsoleHandle
Definition: basemsg.h:121
PCHAR Reserved
Definition: basemsg.h:140
HANDLE StdIn
Definition: basemsg.h:124
PCHAR CmdLine
Definition: basemsg.h:129
ULONG dwCreationFlags
Definition: basemsg.h:128
ULONG DesktopLen
Definition: basemsg.h:137
PCHAR AppName
Definition: basemsg.h:130
LPSTARTUPINFOA StartupInfo
Definition: basemsg.h:135
USHORT PifLen
Definition: basemsg.h:144
ULONG BinaryType
Definition: basemsg.h:122
PCHAR CurDirectory
Definition: basemsg.h:132
USHORT CmdLen
Definition: basemsg.h:142
USHORT AppLen
Definition: basemsg.h:143
BASE_SXS_CREATEPROCESS_MSG Sxs
Definition: basemsg.h:96
USHORT ProcessorArchitecture
Definition: basemsg.h:99
ULONG PebAddressWow64
Definition: basemsg.h:98
HANDLE ProcessHandle
Definition: basemsg.h:89
CLIENT_ID ClientId
Definition: basemsg.h:91
HANDLE ThreadHandle
Definition: basemsg.h:90
PVOID PebAddressNative
Definition: basemsg.h:97
HANDLE ThreadHandle
Definition: basemsg.h:104
CLIENT_ID ClientId
Definition: basemsg.h:105
UNICODE_STRING TargetPath
Definition: basemsg.h:257
UNICODE_STRING DeviceName
Definition: basemsg.h:256
HANDLE WaitObjectForVDM
Definition: basemsg.h:198
ULONG iWowTask
Definition: basemsg.h:197
HANDLE ConsoleHandle
Definition: basemsg.h:196
LPSTARTUPINFOA StartupInfo
Definition: basemsg.h:178
UNICODE_STRING IniFileName
Definition: basemsg.h:250
UNICODE_STRING SxsWin32ExePath
Definition: basemsg.h:71
UNICODE_STRING CultureFallbacks
Definition: basemsg.h:79
UNICODE_STRING SxsNtExePath
Definition: basemsg.h:72
UNICODE_STRING AssemblyName
Definition: basemsg.h:81
Definition: basemsg.h:151
ULONG BinaryType
Definition: basemsg.h:153
HANDLE WaitObjectForParent
Definition: basemsg.h:156
HANDLE VDMProcessHandle
Definition: basemsg.h:155
USHORT VDMCreationState
Definition: basemsg.h:158
USHORT EntryIndex
Definition: basemsg.h:157
ULONG iTask
Definition: basemsg.h:152
HANDLE ConsoleHandle
Definition: basemsg.h:154
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t ULONG
Definition: typedefs.h:59
char * PCHAR
Definition: typedefs.h:51