mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[NTOS:LPC] NtReplyWaitReceivePortEx returns the correct TotalLength for connect messages
This fixes the NtAcceptConnectPort apitest.
This commit is contained in:
parent
a89844f740
commit
990ba54537
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ NtReplyWaitReceivePortEx(IN HANDLE PortHandle,
|
|||
Message = NULL;
|
||||
|
||||
/* Setup the receive message */
|
||||
ReceiveMessage->u1.s1.TotalLength = (CSHORT)(sizeof(LPCP_MESSAGE) +
|
||||
ReceiveMessage->u1.s1.TotalLength = (CSHORT)(sizeof(PORT_MESSAGE) +
|
||||
ConnectionInfoLength);
|
||||
ReceiveMessage->u1.s1.DataLength = (CSHORT)ConnectionInfoLength;
|
||||
RtlCopyMemory(ReceiveMessage + 1,
|
||||
|
|
Loading…
Reference in a new issue