[WIN32K]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 4 Jan 2013 00:41:10 +0000 (00:41 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 4 Jan 2013 00:41:10 +0000 (00:41 +0000)
commit7851c1a1c2f393d48963e6deaa94467056ce5db4
treee7adac9aadb3e2c6aa9e301f0d3755746e3e0fb0
parent31776e274a7d33b040ca94a8b26397c0315807be
[WIN32K]
- Start to implement NtUserConsoleControl to allow the console server define Console Window Class atom.
- In UserInitialize, initialize the current thread by a call to UserCreateThreadInfo.
- In UserCreateThreadInfo, set the TIF_CSRSSTHREAD flag for threads created by CSRSS.
- In NtUserQueryWindow, when querying the process/thread ID associated to a given window, check whether the window was created by CSRSS and if so, if this is a Console window, get the process/thread ID of the associated console process (console leader process), instead of the CID of CSRSS.

[CONSRV]
- Introduce the concept of console leader process (to be used as the process owning the console window).
- Introduce extra console window information to store the PID and TID of the console leader process via new internal flags to be used by GetWindowLong.
- Effectively set the console window console leader CID at its creation.
- Improve CsrInitConsole to set a console leader process to the console being created.

This fixes http://jira.reactos.org/browse/CORE-122 in this branch.

[CONSRV-WIN32K]
Fix various code misspellings.

svn path=/branches/ros-csrss/; revision=58107
15 files changed:
win32ss/include/ntuser.h
win32ss/user/consrv/conio.h
win32ss/user/consrv/console.c
win32ss/user/consrv/consrv.h
win32ss/user/consrv/guiconsole.c
win32ss/user/consrv/handle.c
win32ss/user/consrv/tuiconsole.c
win32ss/user/ntuser/main.c
win32ss/user/ntuser/ntstubs.c
win32ss/user/ntuser/ntuser.c
win32ss/user/ntuser/ntuser.h
win32ss/user/ntuser/userfuncs.h
win32ss/user/ntuser/window.c
win32ss/user/ntuser/winsta.c
win32ss/user/ntuser/winsta.h