Commit 386c3a58 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Make sure to fill out the MIDL_STUB_MESSAGE structure in

NdrSendReceive like we do in NdrProxySendReceive.
parent d9896dec
......@@ -282,6 +282,11 @@ unsigned char *WINAPI NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char
/* FIXME: raise exception? */
}
stubmsg->BufferLength = stubmsg->RpcMsg->BufferLength;
stubmsg->BufferStart = stubmsg->RpcMsg->Buffer;
stubmsg->BufferEnd = stubmsg->BufferStart + stubmsg->BufferLength;
stubmsg->Buffer = stubmsg->BufferStart;
/* FIXME: is this the right return value? */
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment