Commit 6c093f39 authored by Mike Hearn's avatar Mike Hearn Committed by Alexandre Julliard

Fix a typo, propagate errors better from inside the typelib

marshaller.
parent 82977c14
......@@ -132,7 +132,7 @@ _unmarshal_interface(marshal_state *buf, REFIID riid, LPUNKNOWN *pUnk) {
if (hres) { FIXME("Failed Seek %lx\n",hres); return hres;}
hres = CoUnmarshalInterface(pStm,riid,(LPVOID*)pUnk);
if (hres) {
FIXME("Marshalling interface %s failed with %lx\n",debugstr_guid(riid),hres);
FIXME("Unmarshalling interface %s failed with %lx\n",debugstr_guid(riid),hres);
return hres;
}
IStream_Release(pStm);
......@@ -1145,7 +1145,7 @@ _get_funcdesc(
ITypeInfo_Release(tinfo2);
if (!hres) return S_OK;
}
return E_FAIL;
return hres;
}
if (((*fdesc)->oVft/4) == iMethod) {
if (fname)
......@@ -1374,6 +1374,7 @@ xCall(LPVOID retptr, int method, TMProxyImpl *tpinfo /*, args */)
);
if (hres) {
FIXME("Failed to unmarshall param, hres %lx\n",hres);
status = hres;
break;
}
xargs += _argsize(elem->tdesc.vt);
......
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