mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Add a stub for NTDLL!CsrGetProcessId.
svn path=/trunk/; revision=17416
This commit is contained in:
parent
75983b1ade
commit
81fe025857
3 changed files with 27 additions and 0 deletions
25
reactos/lib/ntdll/csr/srv.c
Normal file
25
reactos/lib/ntdll/csr/srv.c
Normal file
|
@ -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 */
|
|
@ -16,6 +16,7 @@ CsrCaptureTimeout@8
|
|||
CsrClientCallServer@16
|
||||
CsrClientConnectToServer@24
|
||||
CsrFreeCaptureBuffer@4
|
||||
CsrGetProcessId@0
|
||||
CsrIdentifyAlertableThread@0
|
||||
CsrNewThread@0
|
||||
CsrProbeForRead@12
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue