Fix HEAD compilation.

LPC_MESSAGE.DataSize ==> PORT_MESSAGE.u1.s1.DataLength
LPC_MESSAGE.MessageSize ==> PORT.u1.s1.TotalLength

svn path=/trunk/; revision=17282
This commit is contained in:
Emanuele Aliberti 2005-08-11 09:19:10 +00:00
parent f83c14b3fc
commit 0a7659bfce

View file

@ -54,8 +54,8 @@ CsrNotify(PCSR_API_MESSAGE Request)
return STATUS_INVALID_PORT_HANDLE;
}
Request->Header.DataSize = sizeof(CSR_API_MESSAGE) - LPC_MESSAGE_BASE_SIZE;
Request->Header.MessageSize = sizeof(CSR_API_MESSAGE);
Request->Header.u1.s1.DataLength = sizeof(CSR_API_MESSAGE) - LPC_MESSAGE_BASE_SIZE;
Request->Header.u1.s1.TotalLength = sizeof(CSR_API_MESSAGE);
/* Switch to the process in which the WindowsApiPort handle is valid */
OldProcess = PsGetCurrentProcess();