Rob Shearman : ole32: Partially implement ServerRpcChannelBuffer_GetDestCtx .

Alexandre Julliard julliard at winehq.org
Tue Jan 15 07:47:15 CST 2008


Module: wine
Branch: master
Commit: fcccd9fca605d1d4c462df5c33f4bacf03bdda5f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fcccd9fca605d1d4c462df5c33f4bacf03bdda5f

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Jan 15 12:09:57 2008 +0000

ole32: Partially implement ServerRpcChannelBuffer_GetDestCtx.

---

 dlls/ole32/rpc.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c
index 027d0ee..e2f56fc 100644
--- a/dlls/ole32/rpc.c
+++ b/dlls/ole32/rpc.c
@@ -1026,8 +1026,13 @@ static HRESULT WINAPI ClientRpcChannelBuffer_GetDestCtx(LPRPCCHANNELBUFFER iface
 
 static HRESULT WINAPI ServerRpcChannelBuffer_GetDestCtx(LPRPCCHANNELBUFFER iface, DWORD* pdwDestContext, void** ppvDestContext)
 {
-    FIXME("(%p,%p), stub!\n", pdwDestContext, ppvDestContext);
-    return E_FAIL;
+    WARN("(%p,%p), stub!\n", pdwDestContext, ppvDestContext);
+
+    /* FIXME: implement this by storing the dwDestContext and pvDestContext
+     * values passed into IMarshal_MarshalInterface and returning them here */
+    *pdwDestContext = MSHCTX_DIFFERENTMACHINE;
+    *ppvDestContext = NULL;
+    return S_OK;
 }
 
 static HRESULT WINAPI RpcChannelBuffer_IsConnected(LPRPCCHANNELBUFFER iface)




More information about the wine-cvs mailing list