Michael Stefaniuc : dmusic: Use debugstr_guid to trace some GUIDs.

Alexandre Julliard julliard at winehq.org
Tue Jul 26 10:44:43 CDT 2016


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Jul 26 10:42:02 2016 +0200

dmusic: Use debugstr_guid to trace some GUIDs.

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

---

 dlls/dmusic/clock.c  | 2 +-
 dlls/dmusic/dmusic.c | 2 +-
 dlls/dmusic/port.c   | 9 ++++++---
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/dlls/dmusic/clock.c b/dlls/dmusic/clock.c
index 46a035f..7fd1d8f 100644
--- a/dlls/dmusic/clock.c
+++ b/dlls/dmusic/clock.c
@@ -123,7 +123,7 @@ HRESULT DMUSIC_CreateReferenceClockImpl(LPCGUID riid, LPVOID* ret_iface, LPUNKNO
     IReferenceClockImpl* clock;
     HRESULT hr;
 
-    TRACE("(%p,%p,%p)\n", riid, ret_iface, unkouter);
+    TRACE("(%s, %p, %p)\n", debugstr_guid(riid), ret_iface, unkouter);
 
     clock = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IReferenceClockImpl));
     if (!clock) {
diff --git a/dlls/dmusic/dmusic.c b/dlls/dmusic/dmusic.c
index 09a7f53..67900b3 100644
--- a/dlls/dmusic/dmusic.c
+++ b/dlls/dmusic/dmusic.c
@@ -405,7 +405,7 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicImpl(LPCGUID riid, LPVOID* ret_iface, LPU
     IDirectMusic8Impl *dmusic;
     HRESULT ret;
 
-    TRACE("(%p,%p,%p)\n", riid, ret_iface, unkouter);
+    TRACE("(%s, %p, %p)\n", debugstr_guid(riid), ret_iface, unkouter);
 
     *ret_iface = NULL;
     if (unkouter)
diff --git a/dlls/dmusic/port.c b/dlls/dmusic/port.c
index f886d52..d919c10 100644
--- a/dlls/dmusic/port.c
+++ b/dlls/dmusic/port.c
@@ -678,7 +678,8 @@ HRESULT DMUSIC_CreateSynthPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkou
     HRESULT hr = E_FAIL;
     int i;
 
-    TRACE("(%p,%p,%p,%p,%p,%d)\n", guid, object, unkouter, port_params, port_caps, device);
+    TRACE("(%s, %p, %p, %p, %p, %d)\n", debugstr_guid(guid), object, unkouter, port_params,
+            port_caps, device);
 
     *object = NULL;
 
@@ -762,14 +763,16 @@ HRESULT DMUSIC_CreateSynthPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkou
 
 HRESULT DMUSIC_CreateMidiOutPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkouter, LPDMUS_PORTPARAMS port_params, LPDMUS_PORTCAPS port_caps, DWORD device)
 {
-    TRACE("(%p,%p,%p,%p,%p,%d): stub\n", guid, object, unkouter, port_params, port_caps, device);
+    TRACE("(%s, %p, %p, %p, %p, %d): stub\n", debugstr_guid(guid), object, unkouter, port_params,
+            port_caps, device);
 
     return E_NOTIMPL;
 }
 
 HRESULT DMUSIC_CreateMidiInPortImpl(LPCGUID guid, LPVOID *object, LPUNKNOWN unkouter, LPDMUS_PORTPARAMS port_params, LPDMUS_PORTCAPS port_caps, DWORD device)
 {
-    TRACE("(%p,%p,%p,%p,%p,%d): stub\n", guid, object, unkouter, port_params, port_caps, device);
+    TRACE("(%s, %p, %p, %p, %p, %d): stub\n", debugstr_guid(guid), object, unkouter, port_params,
+            port_caps, device);
 
     return E_NOTIMPL;
 }




More information about the wine-cvs mailing list