Author: hbelusca
Date: Mon Oct 22 23:55:51 2012
New Revision: 57597
URL:
http://svn.reactos.org/svn/reactos?rev=57597&view=rev
Log:
[CONSRV/WIN32CSR]
- Move all the console subsystem from win32csr to a new server dll called consrv.dll
(instead of putting it directly to winsrv.dll). It's because I want to rework on this
later on.
Many things must be done in order to achieve the moving (renaming functions, etc...).
Tables & symbol names come from
http://j00ru.vexillium.org/csrss_list/api_list.html as
usual,
but here I took the Win 2k3 ones and I added few Win 7 functions which already existed in
our codebase. The other table names are guessed based on what originally existed in
csrsrv
and so on. Many stubs are also missing.
Cultural remark: consrv.dll originally existed in Beta releases of Windows NT 3.1 (e.g.
the October 1991 one), but was soon merged with winsrv.dll and thus, in subsequent
versions of
Windows, the console subsystem is also found in winsrv.dll. See
http://www.logotypes.se/NT310CSRSS.txt and
http://j00ru.vexillium.org/?p=349#comment-1883.
One has to wait until
Windows 7 to see it moving again to conhost.exe.
[CSRSRV]
- Add an explanation comment on what the ValidTable member in the CSR_SERVER_DLL structure
is for.
Added:
branches/ros-csrss/win32ss/user/consrv/ (with props)
branches/ros-csrss/win32ss/user/consrv/CMakeLists.txt (with props)
branches/ros-csrss/win32ss/user/consrv/alias.c
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/alias.c
branches/ros-csrss/win32ss/user/consrv/coninput.c (contents, props changed)
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/coninput.c
branches/ros-csrss/win32ss/user/consrv/conio.h (contents, props changed)
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/conio.h
branches/ros-csrss/win32ss/user/consrv/conoutput.c (contents, props changed)
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/conoutput.c
branches/ros-csrss/win32ss/user/consrv/console.c (contents, props changed)
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/console.c
branches/ros-csrss/win32ss/user/consrv/consrv.h (with props)
branches/ros-csrss/win32ss/user/consrv/consrv.rc (with props)
branches/ros-csrss/win32ss/user/consrv/consrv.spec (with props)
branches/ros-csrss/win32ss/user/consrv/guiconsole.c (contents, props changed)
- copied, changed from r57593,
branches/ros-csrss/win32ss/user/win32csr/guiconsole.c
branches/ros-csrss/win32ss/user/consrv/guiconsole.h (contents, props changed)
- copied, changed from r57593,
branches/ros-csrss/win32ss/user/win32csr/guiconsole.h
branches/ros-csrss/win32ss/user/consrv/handle.c (contents, props changed)
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/handle.c
branches/ros-csrss/win32ss/user/consrv/init.c (with props)
branches/ros-csrss/win32ss/user/consrv/lang/
- copied from r57593, branches/ros-csrss/win32ss/user/win32csr/lang/
branches/ros-csrss/win32ss/user/consrv/lineinput.c
- copied, changed from r57593, branches/ros-csrss/win32ss/user/win32csr/lineinput.c
branches/ros-csrss/win32ss/user/consrv/res/
- copied from r57593, branches/ros-csrss/win32ss/user/win32csr/res/
branches/ros-csrss/win32ss/user/consrv/rsrc.rc (with props)
branches/ros-csrss/win32ss/user/consrv/server.c (with props)
branches/ros-csrss/win32ss/user/consrv/tuiconsole.c (contents, props changed)
- copied, changed from r57593,
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.c
branches/ros-csrss/win32ss/user/consrv/tuiconsole.h (contents, props changed)
- copied, changed from r57593,
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.h
Removed:
branches/ros-csrss/win32ss/user/win32csr/alias.c
branches/ros-csrss/win32ss/user/win32csr/coninput.c
branches/ros-csrss/win32ss/user/win32csr/conio.h
branches/ros-csrss/win32ss/user/win32csr/conoutput.c
branches/ros-csrss/win32ss/user/win32csr/console.c
branches/ros-csrss/win32ss/user/win32csr/guiconsole.c
branches/ros-csrss/win32ss/user/win32csr/guiconsole.h
branches/ros-csrss/win32ss/user/win32csr/handle.c
branches/ros-csrss/win32ss/user/win32csr/lineinput.c
branches/ros-csrss/win32ss/user/win32csr/res/
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.c
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.h
Modified:
branches/ros-csrss/include/reactos/subsys/csr/csrmsg.h
branches/ros-csrss/include/reactos/subsys/csr/csrsrv.h
branches/ros-csrss/include/reactos/subsys/win/conmsg.h
branches/ros-csrss/win32ss/user/consrv/lang/bg-BG.rc
branches/ros-csrss/win32ss/user/consrv/lang/cs-CZ.rc
branches/ros-csrss/win32ss/user/consrv/lang/de-DE.rc
branches/ros-csrss/win32ss/user/consrv/lang/el-GR.rc
branches/ros-csrss/win32ss/user/consrv/lang/en-US.rc
branches/ros-csrss/win32ss/user/consrv/lang/es-ES.rc
branches/ros-csrss/win32ss/user/consrv/lang/fr-FR.rc
branches/ros-csrss/win32ss/user/consrv/lang/id-ID.rc
branches/ros-csrss/win32ss/user/consrv/lang/it-IT.rc
branches/ros-csrss/win32ss/user/consrv/lang/ja-JP.rc
branches/ros-csrss/win32ss/user/consrv/lang/no-NO.rc
branches/ros-csrss/win32ss/user/consrv/lang/pl-PL.rc
branches/ros-csrss/win32ss/user/consrv/lang/pt-BR.rc
branches/ros-csrss/win32ss/user/consrv/lang/ro-RO.rc
branches/ros-csrss/win32ss/user/consrv/lang/ru-RU.rc
branches/ros-csrss/win32ss/user/consrv/lang/sk-SK.rc
branches/ros-csrss/win32ss/user/consrv/lang/sv-SE.rc
branches/ros-csrss/win32ss/user/consrv/lang/tr-TR.rc
branches/ros-csrss/win32ss/user/consrv/lang/uk-UA.rc
branches/ros-csrss/win32ss/user/consrv/lang/zh-CN.rc
branches/ros-csrss/win32ss/user/consrv/lang/zh-TW.rc
branches/ros-csrss/win32ss/user/win32csr/CMakeLists.txt
branches/ros-csrss/win32ss/user/win32csr/desktopbg.c (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/desktopbg.h (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/dllmain.c (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/exitros.c (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/resource.h (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/w32csr.h
branches/ros-csrss/win32ss/user/win32csr/win32csr.h (contents, props changed)
branches/ros-csrss/win32ss/user/win32csr/win32csr.rc (props changed)
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: branches/ros-csrss/include/reactos/subsys/csr/csrmsg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/include/reactos/subsy…
Modified: branches/ros-csrss/include/reactos/subsys/csr/csrsrv.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/include/reactos/subsy…
Modified: branches/ros-csrss/include/reactos/subsys/win/conmsg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/include/reactos/subsy…
Added: branches/ros-csrss/win32ss/user/consrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/C…
Copied: branches/ros-csrss/win32ss/user/consrv/alias.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/alias.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/a…
Copied: branches/ros-csrss/win32ss/user/consrv/coninput.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/coninput.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Copied: branches/ros-csrss/win32ss/user/consrv/conio.h (from r57593,
branches/ros-csrss/win32ss/user/win32csr/conio.h)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Copied: branches/ros-csrss/win32ss/user/consrv/conoutput.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/conoutput.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Copied: branches/ros-csrss/win32ss/user/consrv/console.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/console.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Added: branches/ros-csrss/win32ss/user/consrv/consrv.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Added: branches/ros-csrss/win32ss/user/consrv/consrv.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Added: branches/ros-csrss/win32ss/user/consrv/consrv.spec
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/c…
Copied: branches/ros-csrss/win32ss/user/consrv/guiconsole.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/guiconsole.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/g…
Copied: branches/ros-csrss/win32ss/user/consrv/guiconsole.h (from r57593,
branches/ros-csrss/win32ss/user/win32csr/guiconsole.h)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/g…
Copied: branches/ros-csrss/win32ss/user/consrv/handle.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/handle.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/h…
Added: branches/ros-csrss/win32ss/user/consrv/init.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/i…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/sv-SE.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Modified: branches/ros-csrss/win32ss/user/consrv/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Copied: branches/ros-csrss/win32ss/user/consrv/lineinput.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/lineinput.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/l…
Added: branches/ros-csrss/win32ss/user/consrv/rsrc.rc
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/r…
Added: branches/ros-csrss/win32ss/user/consrv/server.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/s…
Copied: branches/ros-csrss/win32ss/user/consrv/tuiconsole.c (from r57593,
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.c)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/t…
Copied: branches/ros-csrss/win32ss/user/consrv/tuiconsole.h (from r57593,
branches/ros-csrss/win32ss/user/win32csr/tuiconsole.h)
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/consrv/t…
Modified: branches/ros-csrss/win32ss/user/win32csr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/alias.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/coninput.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/conio.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/conoutput.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/console.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/desktopbg.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/desktopbg.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/exitros.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/guiconsole.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/guiconsole.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/handle.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/lineinput.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/resource.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/tuiconsole.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Removed: branches/ros-csrss/win32ss/user/win32csr/tuiconsole.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/w32csr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…
Modified: branches/ros-csrss/win32ss/user/win32csr/win32csr.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-csrss/win32ss/user/win32csr…