Author: tkreuzer
Date: Tue Sep 16 21:57:31 2014
New Revision: 64174
URL: http://svn.reactos.org/svn/reactos?rev=64174&view=rev
Log:
[NTOSKRNL]
- Remove an undocumented flag from the lpc request type in NtRequestWaitReplyPort. This is required for some windows modules that use this flag, otherwise the function fails.
Modified:
branches/kernel-fun/reactos/ntoskrnl/lpc/send.c
Modified: branches/kernel-fun/reactos/ntoskrnl/lpc/send.c
URL: http://svn.reactos.org/svn/reactos/branches/kernel-fun/reactos/ntoskrnl/lpc…
==============================================================================
--- branches/kernel-fun/reactos/ntoskrnl/lpc/send.c [iso-8859-1] (original)
+++ branches/kernel-fun/reactos/ntoskrnl/lpc/send.c [iso-8859-1] Tue Sep 16 21:57:31 2014
@@ -744,6 +744,9 @@
}
}
+ /* This flag is undocumented. Remove it before continuing */
+ LocalLpcRequest.u2.s2.Type &= ~0x4000;
+
/* Check if this is an LPC Request */
if (LpcpGetMessageType(&LocalLpcRequest) == LPC_REQUEST)
{