Author: ion
Date: Mon Oct 30 22:20:08 2006
New Revision: 24682
URL: http://svn.reactos.org/svn/reactos?rev=24682&view=rev
Log:
- In my fear of accidentally comitting NTLPC = 1, I forgot to make the initial NTLPC = 0 commit, so LPC was never getting compiled at all. This fixes it.
Modified:
trunk/reactos/config.template.rbuild
Modified: trunk/reactos/config.template.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/config.template.rbuild?rev…
==============================================================================
--- trunk/reactos/config.template.rbuild (original)
+++ trunk/reactos/config.template.rbuild Mon Oct 30 22:20:08 2006
@@ -69,4 +69,12 @@
-->
<property name="NSWPAT" value="0" />
+<!--
+ Whether to compile with NT-compatible LPC Semantics. At the moment, this will
+ cause all LPC-related functionality to fail and should only be used if you're
+ working on the \ntlpc directory. Leave this disabled unless you really know
+ what you're doing.
+-->
+<property name="NTLPC" value="0" />
+
</rbuild>
Author: ion
Date: Mon Oct 30 22:12:17 2006
New Revision: 24681
URL: http://svn.reactos.org/svn/reactos?rev=24681&view=rev
Log:
- Properly initialize the Port Message header in NTDLL's Csr Routines and Win32k's as well.
- It is now possible to boot into GUI and use the Command Line/Console (heavy LPC user) in NTLPC mode.
- NTLPC is still disabled in trunk however, because there are still bugs and missing functionality.
Modified:
trunk/reactos/dll/ntdll/csr/connect.c
trunk/reactos/subsystems/win32/win32k/ntuser/csr.c
Modified: trunk/reactos/dll/ntdll/csr/connect.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/csr/connect.c?re…
==============================================================================
--- trunk/reactos/dll/ntdll/csr/connect.c (original)
+++ trunk/reactos/dll/ntdll/csr/connect.c Mon Oct 30 22:12:17 2006
@@ -59,6 +59,7 @@
DPRINT("CsrClientCallServer\n");
/* Fill out the Port Message Header */
+ ApiMessage->Header.u2.ZeroInit = 0;
ApiMessage->Header.u1.s1.DataLength = RequestLength - sizeof(PORT_MESSAGE);
ApiMessage->Header.u1.s1.TotalLength = RequestLength;
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/csr.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/csr.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/csr.c Mon Oct 30 22:12:17 2006
@@ -54,6 +54,7 @@
return STATUS_INVALID_PORT_HANDLE;
}
+ Request->Header.u2.ZeroInit = 0;
Request->Header.u1.s1.DataLength = sizeof(CSR_API_MESSAGE) - sizeof(PORT_MESSAGE);
Request->Header.u1.s1.TotalLength = sizeof(CSR_API_MESSAGE);