Add a stub for NTDLL!CsrGetProcessId.
Added: trunk/reactos/lib/ntdll/csr/srv.c
Modified: trunk/reactos/lib/ntdll/def/ntdll.def
Modified: trunk/reactos/lib/ntdll/ntdll.xml

Added: trunk/reactos/lib/ntdll/csr/srv.c
--- trunk/reactos/lib/ntdll/csr/srv.c	2005-08-16 20:36:03 UTC (rev 17415)
+++ trunk/reactos/lib/ntdll/csr/srv.c	2005-08-16 22:16:09 UTC (rev 17416)
@@ -0,0 +1,25 @@
+/* $Id$
+ *
+ * COPYRIGHT:       See COPYING in the top level directory
+ * PROJECT:         ReactOS kernel
+ * FILE:            lib/ntdll/csr/srv.c
+ * PURPOSE:         Get CSR.EXE PID
+ *
+ */
+
+/* INCLUDES *****************************************************************/
+
+#include <ntdll.h>
+#define NDEBUG
+#include <debug.h>
+
+/* GLOBALS *******************************************************************/
+
+DWORD ProcessId = 0; // TODO: set it on startup
+
+DWORD STDCALL CsrGetProcessId (VOID)
+{
+	return ProcessId;
+}
+
+/* EOF */
Property changes on: trunk/reactos/lib/ntdll/csr/srv.c
___________________________________________________________________
Name: svn:keywords
   + author date id revision
Name: svn:eol-style
   + native

Modified: trunk/reactos/lib/ntdll/def/ntdll.def
--- trunk/reactos/lib/ntdll/def/ntdll.def	2005-08-16 20:36:03 UTC (rev 17415)
+++ trunk/reactos/lib/ntdll/def/ntdll.def	2005-08-16 22:16:09 UTC (rev 17416)
@@ -16,6 +16,7 @@
 CsrClientCallServer@16
 CsrClientConnectToServer@24
 CsrFreeCaptureBuffer@4
+CsrGetProcessId@0
 CsrIdentifyAlertableThread@0
 CsrNewThread@0
 CsrProbeForRead@12

Modified: trunk/reactos/lib/ntdll/ntdll.xml
--- trunk/reactos/lib/ntdll/ntdll.xml	2005-08-16 20:36:03 UTC (rev 17415)
+++ trunk/reactos/lib/ntdll/ntdll.xml	2005-08-16 22:16:09 UTC (rev 17416)
@@ -17,6 +17,7 @@
 		<file>capture.c</file>
 		<file>lpc.c</file>
 		<file>probe.c</file>
+		<file>srv.c</file>
 		<file>thread.c</file>
 	</directory>
 	<directory name="dbg">