Author: tkreuzer
Date: Thu Oct 15 22:07:47 2009
New Revision: 43501
URL:
http://svn.reactos.org/svn/reactos?rev=43501&view=rev
Log:
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.
Modified:
branches/ros-amd64-bringup/reactos/ntoskrnl/ps/thread.c
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/ps/thread.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntosk…
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/ps/thread.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/ps/thread.c [iso-8859-1] Thu Oct 15
22:07:47 2009
@@ -736,6 +736,11 @@
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
}
/*