[CSRSRV]: The connection with SMSS(2) should be done after initialization, not before...
authorAlex Ionescu <aionescu@gmail.com>
Wed, 8 Feb 2012 21:56:23 +0000 (21:56 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 8 Feb 2012 21:56:23 +0000 (21:56 +0000)
commit17492f909720ee800e3448bdb33b96130f9a2a09
tree53b8b5820ac6ce752ce78717f3960d37cffdb985
parentf1831b3bac63fd0baa1fbeec849567cfeb4d8bbd
[CSRSRV]: The connection with SMSS(2) should be done after initialization, not before. This is because in SMSS2, there is no "Complete" API -- you are assumed to be ready when you connect, instead of connecting + completing later. Should not break SMSS behavior, but required for SMSS2.
[CSRSRV]: Fix many bugs in ServerSbApiPortThread. This function never worked as SMSS never actually connects to the SB API Port. Since SMSS2 does, a few bugs were discovered. Also, hack-plement the one SB API that is required for SMSS2 (SbpCreateSession). All we do is resume the thread we receive (Winlogon)... normally we'd also register a hard-error port, etc.
[CSRSRV]: If connecting with SMDLL to SMSS did not work (such as on my system where SMSS is no longer there), try using SMLIB and SMSS2 instead. This way CSRSS still works with both environments.
[CSRSRV]: Required rbuild/cmake changes to build with SMLIB.

svn path=/trunk/; revision=55500
reactos/subsystems/win32/csrss/csrsrv/CMakeLists.txt
reactos/subsystems/win32/csrss/csrsrv/api/wapi.c
reactos/subsystems/win32/csrss/csrsrv/csrsrv.rbuild
reactos/subsystems/win32/csrss/csrsrv/init.c
reactos/subsystems/win32/csrss/csrsrv/srv.h