There is no need to call IUnknown_QueryInterface since getting the

correct object is handled by the proxy manager.
This commit is contained in:
Robert Shearman 2005-10-27 12:08:58 +00:00 committed by Alexandre Julliard
parent d699222eae
commit 69562b0edf
1 changed files with 1 additions and 6 deletions

View File

@ -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;