Module: wine Branch: refs/heads/master Commit: 1a346a4a134b867f0494835782c1aae028335b39 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1a346a4a134b867f04948357...
Author: Robert Shearman rob@codeweavers.com Date: Fri Jun 2 20:43:22 2006 +0100
rpcrt4: NdrClientContextMarshall/Unmarshall should both increment the buffer pointer.
---
dlls/rpcrt4/ndr_marshall.c | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 90c19c9..befe124 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -4347,8 +4347,10 @@ void WINAPI NdrClientContextMarshall(PMI { TRACE("(%p, %p, %d): stub\n", pStubMsg, ContextHandle, fCheck); /* FIXME: what does fCheck do? */ - return NDRCContextMarshall(ContextHandle, - pStubMsg->Buffer); + NDRCContextMarshall(ContextHandle, + pStubMsg->Buffer); + + pStubMsg->Buffer += cbNDRContext; }
/*********************************************************************** @@ -4359,10 +4361,12 @@ void WINAPI NdrClientContextUnmarshall(P RPC_BINDING_HANDLE BindHandle) { TRACE("(%p, %p, %p): stub\n", pStubMsg, pContextHandle, BindHandle); - return NDRCContextUnmarshall(pContextHandle, - BindHandle, - pStubMsg->Buffer, - pStubMsg->RpcMsg->DataRepresentation); + NDRCContextUnmarshall(pContextHandle, + BindHandle, + pStubMsg->Buffer, + pStubMsg->RpcMsg->DataRepresentation); + + pStubMsg->Buffer += cbNDRContext; }
void WINAPI NdrServerContextMarshall(PMIDL_STUB_MESSAGE pStubMsg,