mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:23:38 +00:00
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>
This commit is contained in:
parent
07ecdf6ce2
commit
5aec01a7af
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue