Delete all Trailing spaces in code.
[reactos.git] / reactos / base / system / smss / smapicomp.c
1 /* $Id$
2 *
3 * smapicomp.c - SM_API_COMPLETE_SESSION
4 *
5 * Reactos Session Manager
6 *
7 * --------------------------------------------------------------------
8 *
9 * This software is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This software is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this software; see the file COPYING.LIB. If not, write
21 * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
22 * MA 02139, USA.
23 *
24 * --------------------------------------------------------------------
25 */
26 #include "smss.h"
27
28 #define NDEBUG
29 #include <debug.h>
30
31
32 /**********************************************************************
33 * SmCompSes/1 API
34 */
35 SMAPI(SmCompSes)
36 {
37 NTSTATUS Status = STATUS_SUCCESS;
38
39 DPRINT("SM: %s called\n", __FUNCTION__);
40
41 DPRINT("SM: %s: ClientId.UniqueProcess=%lx\n",
42 __FUNCTION__, Request->Header.ClientId.UniqueProcess);
43 Status = SmCompleteClientInitialization ((ULONG) Request->Header.ClientId.UniqueProcess);
44 if (!NT_SUCCESS(Status))
45 {
46 DPRINT1("SM: %s: SmCompleteClientInitialization failed (Status=0x%08lx)\n",
47 __FUNCTION__, Status);
48 }
49 Request->SmHeader.Status = Status;
50 return STATUS_SUCCESS;
51 }
52
53
54 /* EOF */