Author: ion Date: Mon Oct 30 20:04:49 2006 New Revision: 24679
URL: http://svn.reactos.org/svn/reactos?rev=24679&view=rev Log: - Fix incorrect parameter shuffle in NtAcceptConnectPort. CSRSS now initializes properly and kernel32 gets loaded, but fails when connecting.
Modified: trunk/reactos/ntoskrnl/lpc/ntlpc/complete.c
Modified: trunk/reactos/ntoskrnl/lpc/ntlpc/complete.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/lpc/ntlpc/complete... ============================================================================== --- trunk/reactos/ntoskrnl/lpc/ntlpc/complete.c (original) +++ trunk/reactos/ntoskrnl/lpc/ntlpc/complete.c Mon Oct 30 20:04:49 2006 @@ -42,8 +42,8 @@ IN PVOID PortContext OPTIONAL, IN PPORT_MESSAGE ReplyMessage, IN BOOLEAN AcceptConnection, - IN PPORT_VIEW ClientView, - IN PREMOTE_PORT_VIEW ServerView) + IN PPORT_VIEW ServerView, + IN PREMOTE_PORT_VIEW ClientView) { PLPCP_PORT_OBJECT ConnectionPort, ServerPort, ClientPort; PVOID ClientSectionToMap = NULL; @@ -66,14 +66,14 @@ ServerView);
/* Validate the size of the server view */ - if ((ServerView) && (ServerView->Length != sizeof(REMOTE_PORT_VIEW))) + if ((ServerView) && (ServerView->Length != sizeof(PORT_VIEW))) { /* Invalid size */ return STATUS_INVALID_PARAMETER; }
/* Validate the size of the client view */ - if ((ClientView) && (ClientView->Length != sizeof(PORT_VIEW))) + if ((ClientView) && (ClientView->Length != sizeof(REMOTE_PORT_VIEW))) { /* Invalid size */ return STATUS_INVALID_PARAMETER;