- Properly initialize the Port Message header in NTDLL's Csr Routines and Win32k...
authorAlex Ionescu <aionescu@gmail.com>
Mon, 30 Oct 2006 19:12:17 +0000 (19:12 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 30 Oct 2006 19:12:17 +0000 (19:12 +0000)
- 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.

svn path=/trunk/; revision=24681

reactos/dll/ntdll/csr/connect.c
reactos/subsystems/win32/win32k/ntuser/csr.c

index 7f3e787..cff1dd6 100644 (file)
@@ -59,6 +59,7 @@ CsrClientCallServer(PCSR_API_MESSAGE ApiMessage,
     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;
 
index 649d593..5c38aa6 100644 (file)
@@ -54,6 +54,7 @@ co_CsrNotify(PCSR_API_MESSAGE Request)
       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);