mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[NTOS]: Fix declaration and definition of PsGetProcessSessionId: indeed, as PsGetCurrentProcessSessionId, we should call MmGetSessionId to retrieve the real process session id.
svn path=/trunk/; revision=60293
This commit is contained in:
parent
4c6659967e
commit
20a1d1968d
2 changed files with 4 additions and 3 deletions
|
@ -199,7 +199,8 @@ PsGetProcessExitStatus(
|
|||
_In_ PEPROCESS Process
|
||||
);
|
||||
|
||||
HANDLE
|
||||
NTKERNELAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
PsGetProcessSessionId(
|
||||
_In_ PEPROCESS Process
|
||||
|
|
|
@ -1147,11 +1147,11 @@ PsGetProcessSecurityPort(PEPROCESS Process)
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
HANDLE
|
||||
ULONG
|
||||
NTAPI
|
||||
PsGetProcessSessionId(PEPROCESS Process)
|
||||
{
|
||||
return (HANDLE)Process->Session;
|
||||
return MmGetSessionId(Process);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue