projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83b875
)
[CSRSRV]: Add a future hack.
author
Alex Ionescu
<aionescu@gmail.com>
Fri, 17 Feb 2012 01:23:25 +0000
(
01:23
+0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Fri, 17 Feb 2012 01:23:25 +0000
(
01:23
+0000)
svn path=/trunk/; revision=55657
reactos/subsystems/win32/csrss/csrsrv/server.c
patch
|
blob
|
history
diff --git
a/reactos/subsystems/win32/csrss/csrsrv/server.c
b/reactos/subsystems/win32/csrss/csrsrv/server.c
index
6b8f3ac
..
78db1e9
100644
(file)
--- a/
reactos/subsystems/win32/csrss/csrsrv/server.c
+++ b/
reactos/subsystems/win32/csrss/csrsrv/server.c
@@
-226,6
+226,15
@@
CsrLoadServerDll(IN PCHAR DllString,
/* 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
{