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:
Timo Kreuzer 2009-10-15 20:07:47 +00:00
parent 5b70ecbdd3
commit d9f7e0d792

View file

@ -736,6 +736,11 @@ NTAPI
PsGetThreadSessionId(IN PETHREAD Thread)
{
return (HANDLE)Thread->ThreadsProcess->Session;
#if 0
// Should probably return a DWORD
PMM_SESSION_SPACE Session = Thread->ThreadsProcess->Session;
return Session->SessionId;
#endif
}
/*