Author: ion
Date: Fri Feb 17 01:23:25 2012
New Revision: 55657
URL:
http://svn.reactos.org/svn/reactos?rev=55657&view=rev
Log:
[CSRSRV]: Add a future hack.
Modified:
trunk/reactos/subsystems/win32/csrss/csrsrv/server.c
Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csr…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/csrsrv/server.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/csrsrv/server.c [iso-8859-1] Fri Feb 17 01:23:25
2012
@@ -225,6 +225,15 @@
{
/* No, save the pointer to its shared section in our list */
CsrSrvSharedStaticServerData[ServerDll->ServerId] =
ServerDll->SharedSection;
+ }
+
+ /* ReactOS Specific hax */
+ if (ServerDll->HighestApiSupported == 0xDEADBABE)
+ {
+ DPRINT1("Registering: %p\n",
(PVOID)ServerDll->DispatchTable);
+ Status = CsrApiRegisterDefinitions((PVOID)ServerDll->DispatchTable);
+ DPRINT1("Status: %lx\n", Status);
+ goto LoadFailed;
}
}
else