[CSR/BASESRV/CONSRV/WINSRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 25 Oct 2012 20:40:41 +0000 (20:40 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 25 Oct 2012 20:40:41 +0000 (20:40 +0000)
- Fix code headers. No code changes.
- Rename csrcl.h to csr.h for readability purposes.
- exitros.c --> shutdown.c

svn path=/branches/ros-csrss/; revision=57618

43 files changed:
dll/ntdll/include/ntdll.h
dll/win32/kernel32/k32.h
include/reactos/subsys/csr/csr.h [moved from include/reactos/subsys/csr/csrcl.h with 87% similarity]
include/reactos/subsys/csr/csrmsg.h
include/reactos/subsys/csr/csrsrv.h
include/reactos/subsys/win/base.h
include/reactos/subsys/win/basemsg.h
include/reactos/subsys/win/conmsg.h
include/reactos/subsys/win/winmsg.h
subsystems/win/basesrv/basesrv.h
subsystems/win/basesrv/init.c
subsystems/win/basesrv/server.c
subsystems/win32/csrsrv/api.c
subsystems/win32/csrsrv/include/csrplugin.h
subsystems/win32/csrsrv/init.c
subsystems/win32/csrsrv/procsup.c
subsystems/win32/csrsrv/server.c
subsystems/win32/csrsrv/session.c
subsystems/win32/csrsrv/srv.h
subsystems/win32/csrsrv/thredsup.c
subsystems/win32/csrsrv/wait.c
subsystems/win32/csrss/csrss.c
win32ss/user/consrv/alias.c
win32ss/user/consrv/coninput.c
win32ss/user/consrv/conio.h
win32ss/user/consrv/conoutput.c
win32ss/user/consrv/console.c
win32ss/user/consrv/consrv.h
win32ss/user/consrv/guiconsole.c
win32ss/user/consrv/guiconsole.h
win32ss/user/consrv/handle.c
win32ss/user/consrv/lineinput.c
win32ss/user/consrv/resource.h
win32ss/user/consrv/server.c
win32ss/user/consrv/tuiconsole.c
win32ss/user/consrv/tuiconsole.h
win32ss/user/winsrv/CMakeLists.txt
win32ss/user/winsrv/harderror.c
win32ss/user/winsrv/init.c
win32ss/user/winsrv/resource.h
win32ss/user/winsrv/server.c
win32ss/user/winsrv/shutdown.c [moved from win32ss/user/winsrv/exitros.c with 99% similarity]
win32ss/user/winsrv/winsrv.h

index b972e5b..d76e6f6 100644 (file)
@@ -42,7 +42,7 @@
 #include "ntdllp.h"
 
 /* CSRSS Header */
-#include <csr/csrcl.h>
+#include <csr/csr.h>
 
 /* PSEH */
 #include <pseh/pseh2.h>
index 997e023..0a958af 100644 (file)
@@ -36,8 +36,8 @@
 #include <ndk/umfuncs.h>
 
 /* CSRSS Header */
-#include <csrss/client.h>
-#include <csrss/csrss.h> // FIXME: data header.
+#include <csr/csr.h>
+//#include <csr/csrss.h> // FIXME: data header.
 
 /* C Headers */
 #include <ctype.h>
similarity index 87%
rename from include/reactos/subsys/csr/csrcl.h
rename to include/reactos/subsys/csr/csr.h
index ef6a89d..fcc415f 100644 (file)
@@ -1,13 +1,14 @@
 /*
- * PROJECT:         ReactOS Native Headers
- * FILE:            include/subsys/csrss/client.h
- * PURPOSE:         Public Definitions for CSR Clients
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/csr/csr.h
+ * PURPOSE:         Public definitions for CSR Clients
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
 
-#ifndef _CSRCL_H
-#define _CSRCL_H
+#ifndef _CSR_H
+#define _CSR_H
 
 #include "csrmsg.h"
 
@@ -88,6 +89,6 @@ NTAPI
 CsrSetPriorityClass(IN HANDLE Process,
                     IN OUT PULONG PriorityClass);
 
-#endif // _CSRCLIENT_H
+#endif // _CSR_H
 
 /* EOF */
index eae1060..06c1e79 100644 (file)
@@ -1,8 +1,9 @@
 /*
- * PROJECT:         ReactOS Native Headers
- * FILE:            include/subsys/csrss/msg.h
- * PURPOSE:         Public Definitions for communication
- *                  between CSR Clients and Servers.
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/csr/csrmsg.h
+ * PURPOSE:         Public definitions for communication
+ *                  between CSR Clients and Servers
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
index 55d4e68..4709886 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * PROJECT:         ReactOS Native Headers
- * FILE:            include/subsys/csrss/csrsrv.h
- * PURPOSE:         Public Definitions for CSR Servers
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/csr/csrsrv.h
+ * PURPOSE:         Public definitions for CSR Servers
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
@@ -440,6 +441,6 @@ CsrValidateMessageString(IN PCSR_API_MESSAGE ApiMessage,
 #endif
 */
 
-#endif // _CSRSERVER_H
+#endif // _CSRSRV_H
 
 /* EOF */
index 143bbf2..1acf514 100644 (file)
@@ -1,6 +1,13 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/win/base.h
+ * PURPOSE:         Public definitions for Base API Clients
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
 
-#ifndef __BASE_H__
-#define __BASE_H__
+#ifndef _BASE_H
+#define _BASE_H
 
 #pragma once
 
@@ -9,8 +16,6 @@ typedef VOID (CALLBACK * BASE_PROCESS_CREATE_NOTIFY_ROUTINE)(PVOID);
 NTSTATUS WINAPI BaseSetProcessCreateNotify (BASE_PROCESS_CREATE_NOTIFY_ROUTINE);
 CSR_SERVER_DLL_INIT(ServerDllInitialization);
 
-
-
 typedef struct _NLS_USER_INFO
 {
     WCHAR iCountry[80];
@@ -79,6 +84,6 @@ typedef struct _BASE_STATIC_SERVER_DATA
     ULONG TermsrvClientTimeZoneChangeNum;
 } BASE_STATIC_SERVER_DATA, *PBASE_STATIC_SERVER_DATA;
 
-#endif // __BASE_H__
+#endif // _BASE_H
 
 /* EOF */
index 0036e15..2929faf 100644 (file)
@@ -1,6 +1,14 @@
-
-#ifndef __BASEMSG_H__
-#define __BASEMSG_H__
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/win/basemsg.h
+ * PURPOSE:         Public definitions for communication
+ *                  between Base API Clients and Servers
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
+
+#ifndef _BASEMSG_H
+#define _BASEMSG_H
 
 #pragma once
 
@@ -177,7 +185,7 @@ typedef struct _BASE_API_MESSAGE
 
     PCSR_CAPTURE_BUFFER CsrCaptureData;
     CSR_API_NUMBER ApiNumber;
-    ULONG Status;
+    ULONG Status; // ReturnValue; // NTSTATUS Status
     ULONG Reserved;
     union
     {
@@ -195,6 +203,6 @@ typedef struct _BASE_API_MESSAGE
     } Data;
 } BASE_API_MESSAGE, *PBASE_API_MESSAGE;
 
-#endif // __BASEMSG_H__
+#endif // _BASEMSG_H
 
 /* EOF */
index b0a16e1..5f1f10c 100644 (file)
@@ -1,6 +1,14 @@
-
-#ifndef __CONMSG_H__
-#define __CONMSG_H__
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/win/conmsg.h
+ * PURPOSE:         Public definitions for communication
+ *                  between Console API Clients and Servers
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
+
+#ifndef _CONMSG_H
+#define _CONMSG_H
 
 #pragma once
 
@@ -559,6 +567,6 @@ typedef struct _CONSOLE_API_MESSAGE
     } Data;
 } CONSOLE_API_MESSAGE, *PCONSOLE_API_MESSAGE;
 
-#endif // __CONMSG_H__
+#endif // _CONMSG_H
 
 /* EOF */
index 4c380fa..25ebc65 100644 (file)
@@ -1,6 +1,14 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            include/reactos/subsys/win/winmsg.h
+ * PURPOSE:         Public definitions for communication
+ *                  between User-Mode API Clients and Servers
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
 
-#ifndef __WINMSG_H__
-#define __WINMSG_H__
+#ifndef _WINMSG_H
+#define _WINMSG_H
 
 #pragma once
 
@@ -9,6 +17,6 @@
 
 // CSR_SERVER_DLL_INIT(UserServerDllInitialization);
 
-#endif // __WINMSG_H__
+#endif // _WINMSG_H
 
 /* EOF */
index 063103a..4835cd9 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS/Win32 Base enviroment Subsystem Server
+ * FILE:            subsystems/win/basesrv/basesrv.h
+ * PURPOSE:         Main header - Definitions
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
 
 #ifndef __BASESRV_H__
 #define __BASESRV_H__
index 78e86cb..3f972bd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS/Win32 base enviroment subsystem server
+ * PROJECT:         ReactOS/Win32 Base enviroment Subsystem Server
  * FILE:            subsystems/win/basesrv/init.c
  * PURPOSE:         Initialization
  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
index 9b6ac02..7fcfc47 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS/Win32 base enviroment subsystem server
+ * PROJECT:         ReactOS/Win32 Base enviroment Subsystem Server
  * FILE:            subsystems/win/basesrv/server.c
- * PURPOSE:         Initialization
+ * PURPOSE:         Server APIs
  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
 
index 47dfeae..b9a8ca7 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR Sub System
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
  * FILE:            subsystems/win32/csrsrv/api.c
  * PURPOSE:         CSR Server DLL API LPC Implementation
  *                  "\windows\ApiPort" port process management functions
index 053410d..6b0ed95 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <windows.h>
 
-#include <csr/csrcl.h>
+#include <csr/csr.h>
 //#include "api.h"
 
 /*
index d7e0896..7ab7765 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR SubSystem
- * FILE:            subsystems/win32/csrss/csrsrv/init.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/init.c
  * PURPOSE:         CSR Server DLL Initialization
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  *                  ReactOS Portable Systems Group
index 3796145..4d80f1a 100644 (file)
@@ -1,12 +1,12 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR SubSystem
- * FILE:            subsystems/win32/csrss/csrsrv/procsup.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/procsup.c
  * PURPOSE:         CSR Server DLL Process Management
  * PROGRAMMERS:     ReactOS Portable Systems Group
  *                  Alex Ionescu (alex@relsoft.net)
  */
+
 /* INCLUDES *******************************************************************/
 
 #include <srv.h>
index 8954c4d..4d1058a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR SubSystem
- * FILE:            subsystems/win32/csrss/csrsrv/server.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/server.c
  * PURPOSE:         CSR Server DLL Server Functions
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  */
index 9c93249..793efe9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR SubSystem
- * FILE:            subsystems/win32/csrss/csrsrv/session.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/session.c
  * PURPOSE:         CSR Server DLL Session Implementation
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  */
index e6ed810..7ebc219 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/srv.h
+ * PURPOSE:         Main header - Definitions
+ * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
+ *                  ReactOS Portable Systems Group
+ */
+
 #ifndef _SRV_H
 #define _SRV_H
 
@@ -36,4 +45,6 @@
 #define ROUND_UP(n, align) ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
 #define ROUND_DOWN(n, align) (((ULONG)n) & ~((align) - 1l))
 
-#endif
+#endif // _SRV_H
+
+/* EOF */
index 6324651..91e1083 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR SubSystem
- * FILE:            subsystems/win32/csrss/csrsrv/thredsup.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/thredsup.c
  * PURPOSE:         CSR Server DLL Thread Management
  * PROGRAMMERS:     ReactOS Portable Systems Group
  *                  Alex Ionescu (alex@relsoft.net)
index 1852c9d..91e0d0d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSR Sub System
- * FILE:            subsystems/win32/csrss/csrsrv/wait.c
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
+ * FILE:            subsystems/win32/csrsrv/wait.c
  * PURPOSE:         CSR Server DLL Wait Implementation
  * PROGRAMMERS:     Emanuele Aliberti
  *                  Alex Ionescu (alex@relsoft.net)
index 82143d6..b785346 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * PROJECT:         ReactOS Client Server Runtime SubSystem (CSRSS)
  * LICENSE:         BSD - See COPYING.ARM in root directory
+ * PROJECT:         ReactOS Client/Server Runtime SubSystem
  * FILE:            subsystems/win32/csrss/csrss.c
- * PURPOSE:         CSRSS Main Executable Code
+ * PURPOSE:         CSRSS Process Main Executable Code
  * PROGRAMMERS:     Alex Ionescu (alex@relsoft.net)
  *                  ReactOS Portable Systems Group
  */
index ec4e3ed..d9a40d5 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * PROJECT:     ReactOS CSRSS
- * LICENSE:     GPL - See COPYING in the top level directory
- * FILE:        subsystems/win32/csrss/api/alias.c
- * PURPOSE:     CSRSS alias support functions
- * COPYRIGHT:   Christoph Wittich
- *              Johannes Anderwald
+ * LICENSE:         GPL - See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/alias.c
+ * PURPOSE:         Alias support functions
+ * PROGRAMMERS:     Christoph Wittich
+ *                  Johannes Anderwald
  */
 
 /* INCLUDES ******************************************************************/
index cbdc36d..cf55ff0 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * reactos/win32ss/user/consrv/conio.c
- *
- * Console I/O functions
- *
- * ReactOS Operating System
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/coninput.c
+ * PURPOSE:         Console I/O functions
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
index 4242778..8d993bc 100644 (file)
@@ -1,14 +1,13 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
- * FILE:            subsys/csrss/include/conio.h
- * PURPOSE:         CSRSS internal console I/O interface
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/conio.h
+ * PURPOSE:         Internal console I/O interface
+ * PROGRAMMERS:
  */
 
 #pragma once
 
-// #include "api.h"
-
 #define CSR_DEFAULT_CURSOR_SIZE 25
 
 /* Object type magic numbers */
index a81e7e3..9f860e4 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * reactos/win32ss/user/consrv/conio.c
- *
- * Console I/O functions
- *
- * ReactOS Operating System
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/conoutput.c
+ * PURPOSE:         Console I/O functions
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
index 15d9c4f..5cda3fd 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * reactos/win32ss/user/consrv/conio.c
- *
- * Console I/O functions
- *
- * ReactOS Operating System
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/console.c
+ * PURPOSE:         Console I/O functions
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
index b53d8f0..3bf081c 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/consrv.h
+ * PURPOSE:         Main header - Definitions
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
 
 #ifndef __CONSRV_H__
 #define __CONSRV_H__
index 72d1cb3..978df61 100644 (file)
@@ -1,8 +1,9 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
+ * PROJECT:         ReactOS Console Server DLL
  * FILE:            win32ss/user/consrv/guiconsole.c
  * PURPOSE:         Implementation of gui-mode consoles
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
index 285813c..ecd9457 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
+ * PROJECT:         ReactOS Console Server DLL
  * FILE:            win32ss/user/consrv/guiconsole.h
- * PURPOSE:         Interface to GUI consoles
+ * PURPOSE:         Interface to gui-mode consoles
+ * PROGRAMMERS:
  */
 
-// #include "api.h"
 #include "conio.h"
 
 #define CONGUI_MIN_WIDTH      10
index a8ad28f..be55af8 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * reactos/subsys/csrss/api/handle.c
- *
- * CSRSS handle functions
- *
- * ReactOS Operating System
+ * LICENSE:         GPL - See COPYING in the top level directory
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/handle.c
+ * PURPOSE:         Handle functions
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
index d3180d6..2c89a07 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * PROJECT:         ReactOS CSRSS
  * LICENSE:         GPL - See COPYING in the top level directory
- * FILE:            win32ss/user/consrv/lineinput.c
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/tuiconsole.c
  * PURPOSE:         Console line input functions
  * PROGRAMMERS:     Jeffrey Morlan
  */
index 030f61e..7b45116 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id: resource.h 51293 2011-04-09 12:01:36Z mkupfer $
- *
+/*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS Win32 subsystem
- * FILE:            subsys/csrss/win32csr/resource.h
+ * PROJECT:         ReactOS Console Server DLL
+ * FILE:            win32ss/user/consrv/resource.h
  * PURPOSE:         Resource #defines
  */
 
index 21f5a20..54ebc10 100644 (file)
@@ -2,7 +2,7 @@
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS Console Server DLL
  * FILE:            win32ss/user/consrv/init.c
- * PURPOSE:         Initialization
+ * PURPOSE:         Server APIs
  * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
 
index 4c3f2f3..d8826b4 100644 (file)
@@ -1,8 +1,9 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
+ * PROJECT:         ReactOS Console Server DLL
  * FILE:            win32ss/user/consrv/tuiconsole.c
- * PURPOSE:         Implementation of text-mode consoles
+ * PURPOSE:         Interface to text-mode consoles
+ * PROGRAMMERS:
  */
 
 #include "consrv.h"
index a519c6d..b333779 100644 (file)
@@ -1,11 +1,11 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
+ * PROJECT:         ReactOS Console Server DLL
  * FILE:            win32ss/user/consrv/tuiconsole.h
  * PURPOSE:         Interface to text-mode consoles
+ * PROGRAMMERS:
  */
 
-// #include "api.h"
 #include "conio.h"
 
 extern NTSTATUS FASTCALL TuiInitConsole(PCSRSS_CONSOLE Console);
index da82054..5faf8dc 100644 (file)
@@ -6,8 +6,10 @@ include_directories(
 spec2def(winsrv.dll winsrv.spec)
 
 list(APPEND SOURCE
+    harderror.c
     init.c
     server.c
+    shutdown.c
     winsrv.rc
     ${CMAKE_CURRENT_BINARY_DIR}/winsrv.def)
 
index 8bb9d4e..6723cfb 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS system libraries
- * FILE:            win32ss/user/winsrv/dllmain.c
- * PURPOSE:         Initialization
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/harderror.c
+ * PURPOSE:         Hard errors
  * PROGRAMMERS:     Dmitry Philippov (shedon@mail.ru)
  *                  Timo Kreuzer (timo.kreuzer@reactos.org)
  */
index 372e9f9..9651b55 100644 (file)
@@ -1,25 +1,10 @@
 /*
- * init.c - ReactOS/Win32 Console+User Enviroment Subsystem Server - Initialization
- * 
- * ReactOS Operating System
- * 
- * --------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * --------------------------------------------------------------------
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/init.c
+ * PURPOSE:         Initialization
+ * PROGRAMMERS:     Dmitry Philippov (shedon@mail.ru)
+ *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
 
 #include "winsrv.h"
index 1c54971..2bfeae7 100644 (file)
@@ -1,8 +1,7 @@
-/* $Id: resource.h 51293 2011-04-09 12:01:36Z mkupfer $
- *
+/*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS Win32 subsystem
- * FILE:            subsys/csrss/win32csr/resource.h
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/resource.h
  * PURPOSE:         Resource #defines
  */
 
index c4a657f..37057cd 100644 (file)
@@ -1,27 +1,10 @@
 /*
- * server.c - ReactOS/Win32 Console+User Enviroment Subsystem Server - Initialization
- *
- * ReactOS Operating System
- *
- * --------------------------------------------------------------------
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * --------------------------------------------------------------------
- *
- * PROGRAMMER: Eric Kohl
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/server.c
+ * PURPOSE:         Server APIs
+ * PROGRAMMERS:     Eric Kohl
+ *                  Hermes Belusca-Maito (hermes.belusca@sfr.fr)
  */
 
 /* INCLUDES ******************************************************************/
similarity index 99%
rename from win32ss/user/winsrv/exitros.c
rename to win32ss/user/winsrv/shutdown.c
index 8f78bcc..7f0f586 100644 (file)
@@ -1,8 +1,9 @@
 /*
  * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS CSRSS subsystem
- * FILE:            win32ss/user/winsrv/exitros.c
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/shutdown.c
  * PURPOSE:         Logout/shutdown
+ * PROGRAMMERS:
  */
 
 /* INCLUDES ******************************************************************/
@@ -28,7 +29,7 @@ Win32CsrEnumProcesses(CSRSS_ENUM_PROCESS_PROC EnumProc,
     return CsrEnumProcesses(EnumProc, Context);
 }
 
-CSR_API(CsrRegisterLogonProcess)
+CSR_API(SrvRegisterLogonProcess)
 {
     if (ApiMessage->Data.RegisterLogonProcessRequest.Register)
     {
@@ -925,7 +926,7 @@ UserExitReactos(DWORD UserProcessId, UINT Flags)
     return Status;
 }
 
-CSR_API(CsrExitReactos)
+CSR_API(SrvExitWindowsEx)
 {
     if (0 == (ApiMessage->Data.ExitReactosRequest.Flags & EWX_INTERNAL_FLAG))
     {
index 53bd463..0ce515c 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS User API Server DLL
+ * FILE:            win32ss/user/winsrv/winsrv.h
+ * PURPOSE:         Main header - Definitions
+ * PROGRAMMERS:     Hermes Belusca-Maito (hermes.belusca@sfr.fr)
+ */
+
 #pragma once
 
 /* PSDK/NDK Headers */