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);