From 500c1e7db2a5c2f71ea1ba8c64e5a5d52fff9ba0 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sun, 25 Sep 2005 18:17:27 +0000 Subject: [PATCH] - Fix mixed tab/space formatting issues. svn path=/trunk/; revision=18065 --- reactos/lib/ntdll/csr/api.c | 3 +-- reactos/lib/ntdll/csr/capture.c | 15 +++++++------ reactos/lib/ntdll/csr/connect.c | 37 ++++++++++++++++----------------- 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/reactos/lib/ntdll/csr/api.c b/reactos/lib/ntdll/csr/api.c index 78062781461..ad1033fd72a 100644 --- a/reactos/lib/ntdll/csr/api.c +++ b/reactos/lib/ntdll/csr/api.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: lib/ntdll/csr/api.c diff --git a/reactos/lib/ntdll/csr/capture.c b/reactos/lib/ntdll/csr/capture.c index 8fbcb3534e9..21f1b20c507 100644 --- a/reactos/lib/ntdll/csr/capture.c +++ b/reactos/lib/ntdll/csr/capture.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: lib/ntdll/csr/capture.c @@ -119,8 +118,8 @@ CsrAllocateCaptureBuffer(ULONG ArgumentCount, ULONG NTAPI CsrAllocateMessagePointer(PCSR_CAPTURE_BUFFER CaptureBuffer, - ULONG MessageLength, - PVOID *CaptureData) + ULONG MessageLength, + PVOID *CaptureData) { /* If there's no data, our job is easy. */ if (MessageLength == 0) @@ -159,9 +158,9 @@ CsrAllocateMessagePointer(PCSR_CAPTURE_BUFFER CaptureBuffer, VOID NTAPI CsrCaptureMessageBuffer(PCSR_CAPTURE_BUFFER CaptureBuffer, - PVOID MessageString, - ULONG StringLength, - PVOID *CapturedData) + PVOID MessageString, + ULONG StringLength, + PVOID *CapturedData) { /* Simply allocate a message pointer in the buffer */ CsrAllocateMessagePointer(CaptureBuffer, StringLength, CapturedData); @@ -255,7 +254,7 @@ CsrCaptureMessageString(PCSR_CAPTURE_BUFFER CaptureBuffer, PLARGE_INTEGER NTAPI CsrCaptureTimeout(LONG Milliseconds, - PLARGE_INTEGER Timeout) + PLARGE_INTEGER Timeout) { /* Validate the time */ if (Milliseconds == -1) return NULL; diff --git a/reactos/lib/ntdll/csr/connect.c b/reactos/lib/ntdll/csr/connect.c index 20cecff075d..dfaac5aa4e6 100644 --- a/reactos/lib/ntdll/csr/connect.c +++ b/reactos/lib/ntdll/csr/connect.c @@ -1,5 +1,4 @@ -/* $Id$ - * +/* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel * FILE: lib/ntdll/csr/connect.c @@ -40,7 +39,7 @@ HANDLE NTAPI CsrGetProcessId(VOID) { - return CsrProcessId; + return CsrProcessId; } /* @@ -187,7 +186,7 @@ CsrConnectToServer(IN PWSTR ObjectDirectory) /* Binary compatibility with MS KERNEL32 */ if (NULL == ObjectDirectory) { - ObjectDirectory = L"\\Windows"; + ObjectDirectory = L"\\Windows"; } /* Calculate the total port name size */ @@ -209,12 +208,12 @@ CsrConnectToServer(IN PWSTR ObjectDirectory) /* Create a section for the port memory */ CsrSectionViewSize.QuadPart = CSR_CSRSS_SECTION_SIZE; Status = NtCreateSection(&CsrSectionHandle, - SECTION_ALL_ACCESS, - NULL, - &CsrSectionViewSize, - PAGE_READWRITE, - SEC_COMMIT, - NULL); + SECTION_ALL_ACCESS, + NULL, + &CsrSectionViewSize, + PAGE_READWRITE, + SEC_COMMIT, + NULL); if (!NT_SUCCESS(Status)) { DPRINT1("Failure allocating CSR Section\n"); @@ -256,13 +255,13 @@ CsrConnectToServer(IN PWSTR ObjectDirectory) /* Connect to the port */ Status = NtSecureConnectPort(&CsrApiPort, &PortName, - &SecurityQos, - &LpcWrite, + &SecurityQos, + &LpcWrite, SystemSid, - &LpcRead, - NULL, - &ConnectionInfo, - &ConnectionInfoLength); + &LpcRead, + NULL, + &ConnectionInfo, + &ConnectionInfoLength); NtClose(CsrSectionHandle); if (!NT_SUCCESS(Status)) { @@ -419,9 +418,9 @@ CsrClientConnectToServer(PWSTR ObjectDirectory, sizeof(CSR_CLIENT_CONNECT)); #endif Status = CsrClientCallServer(&RosApiMessage, - NULL, - MAKE_CSR_API(CONNECT_PROCESS, CSR_NATIVE), - sizeof(CSR_API_MESSAGE)); + NULL, + MAKE_CSR_API(CONNECT_PROCESS, CSR_NATIVE), + sizeof(CSR_API_MESSAGE)); } else {