Rob Shearman : rpcrt4: Call IRpcChannelBuffer_GetDestCtx in NdrStubInitialize, just like we do in NdrProxyInitialize.
Alexandre Julliard
julliard at winehq.org
Tue Dec 4 13:25:17 CST 2007
Module: wine
Branch: master
Commit: 341208bf1baad187599bb6a3bb7a7bfb19a6945c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=341208bf1baad187599bb6a3bb7a7bfb19a6945c
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Dec 3 16:08:31 2007 +0000
rpcrt4: Call IRpcChannelBuffer_GetDestCtx in NdrStubInitialize, just like we do in NdrProxyInitialize.
---
dlls/rpcrt4/cstub.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c
index 0ae85ae..52c11d9 100644
--- a/dlls/rpcrt4/cstub.c
+++ b/dlls/rpcrt4/cstub.c
@@ -558,6 +558,9 @@ void WINAPI NdrStubInitialize(PRPC_MESSAGE pRpcMsg,
TRACE("(%p,%p,%p,%p)\n", pRpcMsg, pStubMsg, pStubDescriptor, pRpcChannelBuffer);
NdrServerInitializeNew(pRpcMsg, pStubMsg, pStubDescriptor);
pStubMsg->pRpcChannelBuffer = pRpcChannelBuffer;
+ IRpcChannelBuffer_GetDestCtx(pStubMsg->pRpcChannelBuffer,
+ &pStubMsg->dwDestContext,
+ &pStubMsg->pvDestContext);
}
/***********************************************************************
More information about the wine-cvs
mailing list