Commit 19e16319 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntdll: Initialize PEB SessionId to 1.

parent a20d1522
......@@ -280,6 +280,12 @@ HANDLE thread_init(void)
#endif
#endif
/*
* Starting with Vista, the first user to log on has session id 1.
* Session id 0 is for processes that don't interact with the user (like services).
*/
peb->SessionId = 1;
/* allocate and initialize the initial TEB */
signal_alloc_thread( &teb );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment