Commit 5aec01a7 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

ntoskrnl.exe: Implement PsGetCurrentProcessSessionId.

parent 07ecdf6c
......@@ -3008,6 +3008,13 @@ HANDLE WINAPI PsGetCurrentProcessId(void)
return KeGetCurrentThread()->id.UniqueProcess;
}
/***********************************************************************
* PsGetCurrentProcessSessionId (NTOSKRNL.EXE.@)
*/
ULONG WINAPI PsGetCurrentProcessSessionId(void)
{
return PsGetCurrentProcess()->info.PebBaseAddress->SessionId;
}
/***********************************************************************
* PsGetCurrentThreadId (NTOSKRNL.EXE.@)
......
......@@ -888,7 +888,7 @@
@ stub PsGetContextThread
@ stdcall PsGetCurrentProcess() IoGetCurrentProcess
@ stdcall PsGetCurrentProcessId()
@ stub PsGetCurrentProcessSessionId
@ stdcall PsGetCurrentProcessSessionId()
@ stdcall PsGetCurrentThread() KeGetCurrentThread
@ stdcall PsGetCurrentThreadId()
@ stub PsGetCurrentThreadPreviousMode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment