Robert Shearman : rpcrt4: Fix the retrieval of This for interpreted
proxies .
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 8 05:06:02 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 1412c47a508d7ed4aacdd47420b4c6f7d2baca77
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1412c47a508d7ed4aacdd47420b4c6f7d2baca77
Author: Robert Shearman <rob at codeweavers.com>
Date: Wed Jun 7 20:11:46 2006 +0100
rpcrt4: Fix the retrieval of This for interpreted proxies.
---
dlls/rpcrt4/ndr_stubless.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 0053fa4..2c93ad5 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -578,7 +578,7 @@ LONG_PTR WINAPIV NdrClientCall2(PMIDL_ST
if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
{
/* object is always the first argument */
- This = *(void **)ARG_FROM_OFFSET(stubMsg, 0);
+ This = **(void ***)(&pFormat+1);
NdrProxyInitialize(This, &rpcMsg, &stubMsg, pStubDesc, procedure_number);
}
else
More information about the wine-cvs
mailing list