[USER32][USERSRV]

Temporarily disable UserClientConnect (in server side) and CSR client to server call (in client side), always set gfServerProcess to FALSE (that is normally almost true but when CSR itself does USER32 operations...), and comment again GetConnect() call in ClientThreadSetup, in an attempt to "fix" 3rd stage for bots (so that we don't assert in DesktopPtrToUser because some pdi is NULL...)

svn path=/trunk/; revision=65716
This commit is contained in:
Hermès Bélusca-Maïto
2014-12-18 01:53:08 +00:00
parent e157eb4929
commit f9b8d7214f
2 changed files with 11 additions and 1 deletions
+7 -1
View File
@@ -240,7 +240,7 @@ ClientThreadSetup(VOID)
// continue as normal.
//
GetConnected();
// GetConnected();
UNIMPLEMENTED;
return TRUE;
@@ -320,6 +320,8 @@ DllMain(
case DLL_PROCESS_ATTACH:
{
#if 0
#define WIN_OBJ_DIR L"\\Windows"
#define SESSION_DIR L"\\Sessions"
@@ -366,6 +368,10 @@ DllMain(
return FALSE;
}
#else
gfServerProcess = FALSE;
#endif
User32Instance = hInstanceDll;
if (!RegisterClientPFN())
@@ -210,7 +210,11 @@ CSR_SERVER_DLL_INIT(UserServerDllInitialization)
LoadedServerDll->NameTable = UserServerApiNameTable;
#endif
LoadedServerDll->SizeOfProcessData = 0;
#if 0
LoadedServerDll->ConnectCallback = UserClientConnect;
#else
LoadedServerDll->ConnectCallback = NULL;
#endif
LoadedServerDll->DisconnectCallback = NULL;
LoadedServerDll->HardErrorCallback = UserServerHardError;
LoadedServerDll->ShutdownProcessCallback = UserClientShutdown;