mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00
The SessionId is not the same as the session pointer. Add fixed code for PsGetThreadSessionId, commented out as we don't have support for Sessions anyway.
svn path=/branches/ros-amd64-bringup/; revision=43501
This commit is contained in:
parent
5b70ecbdd3
commit
d9f7e0d792
1 changed files with 5 additions and 0 deletions
|
@ -736,6 +736,11 @@ NTAPI
|
||||||
PsGetThreadSessionId(IN PETHREAD Thread)
|
PsGetThreadSessionId(IN PETHREAD Thread)
|
||||||
{
|
{
|
||||||
return (HANDLE)Thread->ThreadsProcess->Session;
|
return (HANDLE)Thread->ThreadsProcess->Session;
|
||||||
|
#if 0
|
||||||
|
// Should probably return a DWORD
|
||||||
|
PMM_SESSION_SPACE Session = Thread->ThreadsProcess->Session;
|
||||||
|
return Session->SessionId;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue