rpcrt4: Fix the retrieval of This for interpreted proxies.
This commit is contained in:
parent
7ef5c3c772
commit
1412c47a50
|
@ -578,7 +578,7 @@ LONG_PTR WINAPIV NdrClientCall2(PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
|
||||||
if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
|
if (pProcHeader->Oi_flags & RPC_FC_PROC_OIF_OBJECT)
|
||||||
{
|
{
|
||||||
/* object is always the first argument */
|
/* object is always the first argument */
|
||||||
This = *(void **)ARG_FROM_OFFSET(stubMsg, 0);
|
This = **(void ***)(&pFormat+1);
|
||||||
NdrProxyInitialize(This, &rpcMsg, &stubMsg, pStubDesc, procedure_number);
|
NdrProxyInitialize(This, &rpcMsg, &stubMsg, pStubDesc, procedure_number);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue