[WIN32K]: Some code formatting in csr.c before revampering it.

svn path=/trunk/; revision=65694
This commit is contained in:
Hermès Bélusca-Maïto 2014-12-17 00:17:44 +00:00
parent 423dd92dbd
commit 06c09f7300
2 changed files with 32 additions and 36 deletions

View file

@ -1,14 +1,15 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Interface to csrss
* FILE: subsys/win32k/ntuser/csr.c
* PROJECT: ReactOS Win32k subsystem
* PURPOSE: Interface to CSRSS / USERSRV
* FILE: subsystems/win32/win32k/ntuser/csr.c
* PROGRAMER: Ge van Geldorp (ge@gse.nl)
*/
#include <win32k.h>
static HANDLE WindowsApiPort = NULL;
// See gpepCSRSS in ntuser/ntuser.c and its initialization into NtUserInitialize()
PEPROCESS CsrProcess = NULL;
NTSTATUS FASTCALL
@ -34,7 +35,7 @@ CsrInit(void)
NULL,
NULL,
&ConnectInfoLength);
if (! NT_SUCCESS(Status))
if (!NT_SUCCESS(Status))
{
return Status;
}
@ -44,7 +45,6 @@ CsrInit(void)
return STATUS_SUCCESS;
}
NTSTATUS FASTCALL
co_CsrNotify(PCSR_API_MESSAGE Request)
{

View file

@ -1,8 +1,8 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Interface to csrss
* FILE: subsys/win32k/include/csr.h
* PROJECT: ReactOS Win32k subsystem
* PURPOSE: Interface to CSRSS / USERSRV
* FILE: subsystems/win32/win32k/ntuser/csr.h
* PROGRAMER: Ge van Geldorp (ge@gse.nl)
*/
@ -12,9 +12,5 @@ extern PEPROCESS CsrProcess;
NTSTATUS FASTCALL CsrInit(void);
NTSTATUS FASTCALL co_CsrNotify(PCSR_API_MESSAGE Request);
NTSTATUS FASTCALL CsrCloseHandle(HANDLE Handle);
NTSTATUS WINAPI CsrInsertObject(HANDLE ObjectHandle,
ACCESS_MASK DesiredAccess,
PHANDLE Handle);
/* EOF */