ntoskrnl.exe: Implement PsGetCurrentProcessSessionId.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=36887
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 5aec01a7af
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
f776c46642
commit
db98059c71
|
@ -2945,6 +2945,13 @@ HANDLE WINAPI PsGetCurrentProcessId(void)
|
|||
return KeGetCurrentThread()->id.UniqueProcess;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* PsGetCurrentProcessSessionId (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
ULONG WINAPI PsGetCurrentProcessSessionId(void)
|
||||
{
|
||||
return PsGetCurrentProcess()->info.PebBaseAddress->SessionId;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* PsGetCurrentThreadId (NTOSKRNL.EXE.@)
|
||||
|
|
|
@ -886,7 +886,7 @@
|
|||
@ stub PsGetContextThread
|
||||
@ stdcall PsGetCurrentProcess() IoGetCurrentProcess
|
||||
@ stdcall PsGetCurrentProcessId()
|
||||
@ stub PsGetCurrentProcessSessionId
|
||||
@ stdcall PsGetCurrentProcessSessionId()
|
||||
@ stdcall PsGetCurrentThread() KeGetCurrentThread
|
||||
@ stdcall PsGetCurrentThreadId()
|
||||
@ stub PsGetCurrentThreadPreviousMode
|
||||
|
|
Loading…
Reference in New Issue