Michael Stefaniuc : shlwapi/tests: Use wine_dbgstr_guid() to trace REFIIDs.

Alexandre Julliard julliard at winehq.org
Wed Jul 20 10:28:52 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Jul 20 10:30:56 2016 +0200

shlwapi/tests: Use wine_dbgstr_guid() to trace REFIIDs.

Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shlwapi/tests/ordinal.c | 3 ++-
 dlls/shlwapi/tests/thread.c  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c
index 2a1eaed..74cad7d 100644
--- a/dlls/shlwapi/tests/ordinal.c
+++ b/dlls/shlwapi/tests/ordinal.c
@@ -1004,7 +1004,8 @@ static HRESULT WINAPI Disp_Invoke(
         EXCEPINFO *pExcepInfo,
         UINT *puArgErr)
 {
-    trace("%p %x %p %x %x %p %p %p %p\n",This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
+    trace("%p %x %s %x %x %p %p %p %p\n", This, dispIdMember, wine_dbgstr_guid(riid), lcid, wFlags,
+          pDispParams, pVarResult, pExcepInfo, puArgErr);
 
     ok(dispIdMember == 0xa0 || dispIdMember == 0xa1, "Unknown dispIdMember\n");
     ok(pDispParams != NULL, "Invoked with NULL pDispParams\n");
diff --git a/dlls/shlwapi/tests/thread.c b/dlls/shlwapi/tests/thread.c
index d4a1787..34eb98c 100644
--- a/dlls/shlwapi/tests/thread.c
+++ b/dlls/shlwapi/tests/thread.c
@@ -52,7 +52,7 @@ static HRESULT WINAPI threadref_QueryInterface(IUnknown *iface, REFIID riid, LPV
 {
     threadref * This = impl_from_IUnknown(iface);
 
-    trace("unexpected QueryInterface(%p, %p, %p) called\n", This, riid, ppvObj);
+    trace("unexpected QueryInterface(%p, %s, %p) called\n", This, wine_dbgstr_guid(riid), ppvObj);
     *ppvObj = NULL;
     return E_NOINTERFACE;
 }




More information about the wine-cvs mailing list