ole32: Make an error message more useful by printing the returned error code.
This commit is contained in:
parent
316383dd49
commit
3047ea9e78
|
@ -123,7 +123,8 @@ HRESULT marshal_object(APARTMENT *apt, STDOBJREF *stdobjref, REFIID riid, IUnkno
|
||||||
IPSFactoryBuffer_Release(psfb);
|
IPSFactoryBuffer_Release(psfb);
|
||||||
if (hr != S_OK)
|
if (hr != S_OK)
|
||||||
{
|
{
|
||||||
ERR("Failed to create an IRpcStubBuffer from IPSFactory for %s\n", debugstr_guid(riid));
|
ERR("Failed to create an IRpcStubBuffer from IPSFactory for %s with error 0x%08x\n",
|
||||||
|
debugstr_guid(riid), hr);
|
||||||
IUnknown_Release(iobject);
|
IUnknown_Release(iobject);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue