/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include "api.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include "api.h"
-#include "conio.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include "api.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
-
/* GLOBALS *******************************************************************/
static BOOLEAN ServicesProcessIdValid = FALSE;
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <rosrtl/thread.h>
-
-#include "api.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
/* Close the port and exit the thread */
NtClose(ServerPort);
- RtlRosExitUserThread(STATUS_SUCCESS);
+ NtTerminateThread(NtCurrentThread(), STATUS_SUCCESS);
}
/**********************************************************************
* actually does nothing but running).
*/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <csrss/csrss.h>
-#include <reactos/buildno.h>
-
-#include "api.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
--- /dev/null
+/* PSDK/NDK Headers */
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+/* Build Number */
+#include <reactos/buildno.h>
+
+/* Subsystem Manager Header */
+#include <sm/helper.h>
+
+/* Internal CSRSS Headers */
+#include <api.h>
+#include <conio.h>
+#include <csrplugin.h>
+
+/* EOF */
<file>user.c</file>\r
<file>wapi.c</file>\r
</directory>\r
+ <pch>csrss.h</pch>\r
<file>csrss.c</file>\r
<file>init.c</file>\r
<file>print.c</file>\r
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <sm/helper.h>
-
-#include "api.h"
-#include "csrplugin.h"
+#include "csrss.h"
#define NDEBUG
#include <debug.h>
* Compiled successfully with egcs 1.1.2
*/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <csrss/csrss.h>
+#include "csrss.h"
+
+#define NDEBUG
+#include <debug.h>
VOID STDCALL DisplayString(LPCWSTR lpwString)
{
* ReactOS Project
*/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <rosrtl/string.h>
+#include "csrss.h"
+
+#define NDEBUG
+#include <debug.h>
ULONG
InitializeVideoAddressSpace(VOID)
{
OBJECT_ATTRIBUTES ObjectAttributes;
- UNICODE_STRING PhysMemName;
+ UNICODE_STRING PhysMemName = RTL_CONSTANT_STRING(L"\\Device\\PhysicalMemory");
NTSTATUS Status;
HANDLE PhysMemHandle;
PVOID BaseAddress;
/*
* Open the physical memory section
*/
- RtlRosInitUnicodeStringFromLiteral(&PhysMemName, L"\\Device\\PhysicalMemory");
InitializeObjectAttributes(&ObjectAttributes,
&PhysMemName,
0,
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <ddk/ntddblue.h>
-#include <rosrtl/string.h>
-
-#include <string.h>
-
-#include "api.h"
-#include "conio.h"
-#include "desktopbg.h"
-#include "guiconsole.h"
-#include "tuiconsole.h"
-#include "win32csr.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
* ReactOS Operating System
*/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-
-#include "api.h"
-#include "desktopbg.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#include "csrplugin.h"
-#include "conio.h"
-#include "desktopbg.h"
-#include "guiconsole.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
-#include <reactos/winlogon.h>
-
-#include "api.h"
-#include "win32csr.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
/* INCLUDES ******************************************************************/
-#include <windows.h>
-#include "conio.h"
-#include "guiconsole.h"
-#include "win32csr.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
* PURPOSE: Implementation of text-mode consoles
*/
-#include <windows.h>
-#include <ddk/ntddblue.h>
-#include <string.h>
-#include "api.h"
-#include "conio.h"
-#include "tuiconsole.h"
-#include "win32csr.h"
+#include "w32csr.h"
#define NDEBUG
#include <debug.h>
--- /dev/null
+/* PSDK/NDK Headers */
+#include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
+
+/* Our own BLUE.SYS Driver for Console Output */
+#include <ddk/ntddblue.h>
+
+/* External Winlogon Header */
+#include <winlogon.h>
+
+/* Internal CSRSS Headers */
+#include <api.h>
+#include <conio.h>
+#include <csrplugin.h>
+#include <desktopbg.h>
+#include "guiconsole.h"
+#include "tuiconsole.h"
+#include <win32csr.h>
+
+/* EOF */
<library>kernel32</library>\r
<library>user32</library>\r
<library>gdi32</library>\r
+ <pch>w32csr.h</pch>\r
<file>conio.c</file>\r
<file>desktopbg.c</file>\r
<file>dllmain.c</file>\r