Initialize the length in the header in LpcSendTerminationPort.

svn path=/trunk/; revision=17748
This commit is contained in:
Hartmut Birr 2005-09-08 20:12:33 +00:00
parent 82b0b7c44a
commit 1df53c9525

View file

@ -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);