From: Emanuele Aliberti Date: Fri, 31 Aug 2001 20:06:17 +0000 (+0000) Subject: NTDLL.CsrClientCallServer: more info on the interface. X-Git-Tag: ReactOS-0.0.19~406 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=b837fe084119585495b9d8cd736d2c9e5bc9c319;ds=sidebyside NTDLL.CsrClientCallServer: more info on the interface. svn path=/trunk/; revision=2212 --- diff --git a/reactos/lib/ntdll/csr/lpc.c b/reactos/lib/ntdll/csr/lpc.c index e13a50c30fa..7ef0b8ff371 100644 --- a/reactos/lib/ntdll/csr/lpc.c +++ b/reactos/lib/ntdll/csr/lpc.c @@ -1,4 +1,4 @@ -/* $Id: lpc.c,v 1.1 2001/06/17 20:05:09 ea Exp $ +/* $Id: lpc.c,v 1.2 2001/08/31 20:06:17 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -30,17 +30,25 @@ HANDLE WindowsApiPort = INVALID_HANDLE_VALUE; /* Possible CsrClientCallServer (the NT one): -NTSTATUS STDCALL -CsrClientCallServer(PCSRSS_XXX_REQUEST Request, - PCSRSS_XXX_REPLY Reply OPTIONAL, - ULONG CsrApiNumber, - ULONG MaxRequestReplyLength) +#define CSR_CCS_NATIVE 0x0000 +#define CSR_CCS_CSR 0x0001 +#define CSR_CCS_GUI 0x0002 + +typedef union _CSR_CCS_API +{ + WORD Index; // CSRSS API number + WORD Subsystem; // 0=NTDLL;1=KERNEL32;2=KERNEL32 -XXX_REQUEST and XXX_REPLY depend on the CsrApiNumber value and are not LPC -objects (the LPC_REQUEST is built here instead). -If Reply == NULL, use storage of Request to write the reply. +} CSR_CCS_API, * PCSR_CCS_API; -TO BE VERIFIED. +NTSTATUS STDCALL +CsrClientCallServer(PVOID Request, + PVOID Unknown OPTIONAL, + CSR_CCS_API CsrApi, + ULONG SizeOfData); + +Request is the family of PCSRSS_XXX_REQUEST objects. +XXX_REQUEST depend on the CsrApiNumber.Index. */ NTSTATUS STDCALL