Skip to content
Snippets Groups Projects
Commit 5aec01a7 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard
Browse files

ntoskrnl.exe: Implement PsGetCurrentProcessSessionId.

parent 07ecdf6c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment