rpcrt4: Don't set BufferStart and BufferEnd in NdrStubCall2.

The operations peformed by the stubless code should roughly match what 
operations MIDL outputs in code, and it doesn't do this.
This commit is contained in:
Rob Shearman 2008-01-21 14:14:00 +00:00 committed by Alexandre Julliard
parent d6748c9db7
commit 426418f725
1 changed files with 1 additions and 3 deletions

View File

@ -1464,9 +1464,7 @@ LONG WINAPI NdrStubCall2(
Status = I_RpcGetBuffer(pRpcMsg);
if (Status)
RpcRaiseException(Status);
stubMsg.BufferStart = pRpcMsg->Buffer;
stubMsg.BufferEnd = stubMsg.BufferStart + stubMsg.BufferLength;
stubMsg.Buffer = stubMsg.BufferStart;
stubMsg.Buffer = pRpcMsg->Buffer;
}
break;
case STUBLESS_UNMARSHAL: