- 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.

svn path=/trunk/; revision=24681
This commit is contained in:
Alex Ionescu 2006-10-30 19:12:17 +00:00
parent f886617372
commit 5134659f32
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@ CsrClientCallServer(PCSR_API_MESSAGE ApiMessage,
DPRINT("CsrClientCallServer\n"); DPRINT("CsrClientCallServer\n");
/* Fill out the Port Message Header */ /* Fill out the Port Message Header */
ApiMessage->Header.u2.ZeroInit = 0;
ApiMessage->Header.u1.s1.DataLength = RequestLength - sizeof(PORT_MESSAGE); ApiMessage->Header.u1.s1.DataLength = RequestLength - sizeof(PORT_MESSAGE);
ApiMessage->Header.u1.s1.TotalLength = RequestLength; ApiMessage->Header.u1.s1.TotalLength = RequestLength;

View file

@ -54,6 +54,7 @@ co_CsrNotify(PCSR_API_MESSAGE Request)
return STATUS_INVALID_PORT_HANDLE; 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.DataLength = sizeof(CSR_API_MESSAGE) - sizeof(PORT_MESSAGE);
Request->Header.u1.s1.TotalLength = sizeof(CSR_API_MESSAGE); Request->Header.u1.s1.TotalLength = sizeof(CSR_API_MESSAGE);