mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Initialize the length in the header in LpcSendTerminationPort.
svn path=/trunk/; revision=17748
This commit is contained in:
parent
82b0b7c44a
commit
1df53c9525
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue