ole32: Make an error message more useful by printing the returned error code.

This commit is contained in:
Rob Shearman 2007-02-19 15:11:32 +00:00 committed by Alexandre Julliard
parent 316383dd49
commit 3047ea9e78
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ HRESULT marshal_object(APARTMENT *apt, STDOBJREF *stdobjref, REFIID riid, IUnkno
IPSFactoryBuffer_Release(psfb);
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);
return hr;
}