From 341208bf1baad187599bb6a3bb7a7bfb19a6945c Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Mon, 3 Dec 2007 16:08:31 +0000 Subject: [PATCH] rpcrt4: Call IRpcChannelBuffer_GetDestCtx in NdrStubInitialize, just like we do in NdrProxyInitialize. --- dlls/rpcrt4/cstub.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/rpcrt4/cstub.c b/dlls/rpcrt4/cstub.c index 0ae85ae055f..52c11d96346 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); } /***********************************************************************