mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08: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
@ -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 New Issue
Block a user