mirror of
https://github.com/reactos/reactos.git
synced 2026-07-04 21:44:35 +08:00
Initialize the length in the header in LpcSendTerminationPort.
svn path=/trunk/; revision=17748
This commit is contained in:
@@ -38,6 +38,8 @@ LpcSendTerminationPort (IN PEPORT Port,
|
||||
#ifdef __USE_NT_LPC__
|
||||
Msg.h.u2.s2.Type = LPC_CLIENT_DIED;
|
||||
#endif
|
||||
Msg.h.u1.s1.TotalLength = sizeof(Msg);
|
||||
Msg.h.u1.s1.DataLength = sizeof(Msg) - sizeof(PORT_MESSAGE);
|
||||
Msg.CreateTime = CreateTime;
|
||||
Status = LpcRequestPort (Port, &Msg.h);
|
||||
return(Status);
|
||||
|
||||
Reference in New Issue
Block a user