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
// continue as normal.
//
- GetConnected();
+ // GetConnected();
UNIMPLEMENTED;
return TRUE;
case DLL_PROCESS_ATTACH:
{
+#if 0
+
#define WIN_OBJ_DIR L"\\Windows"
#define SESSION_DIR L"\\Sessions"
return FALSE;
}
+#else
+ gfServerProcess = FALSE;
+#endif
+
User32Instance = hInstanceDll;
if (!RegisterClientPFN())
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;