Commit 69562b0e authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

There is no need to call IUnknown_QueryInterface since getting the

correct object is handled by the proxy manager.
parent d699222e
......@@ -1696,18 +1696,13 @@ TMStubImpl_Invoke(
}
}
hres = IUnknown_QueryInterface(This->pUnk,&(This->iid),(LPVOID*)&(args[0]));
if (hres) {
ERR("Does not support iface %s, returning %lx\n",debugstr_guid(&(This->iid)), hres);
return hres;
}
args[0] = (DWORD)This->pUnk;
res = _invoke(
(*((FARPROC**)args[0]))[fdesc->oVft/4],
fdesc->callconv,
(xargs-args),
args
);
IUnknown_Release((LPUNKNOWN)args[0]);
buf.curoff = 0;
xargs = args+1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment