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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 20 05:25:00 CST 2007


Module: wine
Branch: master
Commit: 3047ea9e78de86f39fbb0f63dc5b38db783d2f3a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3047ea9e78de86f39fbb0f63dc5b38db783d2f3a

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Feb 19 15:11:32 2007 +0000

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

---

 dlls/ole32/marshal.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index e79e93d..490b762 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -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;
         }




More information about the wine-cvs mailing list