msi: Use debugstr_guid() in TRACE() messages. (v2)

Andrey Gusev andrey.goosev at gmail.com
Fri Jul 22 05:01:01 CDT 2016


-------------- next part --------------
From 1300c09c5d0b49ce30c380fb4b21864eafc3a838 Mon Sep 17 00:00:00 2001
Message-Id: <1300c09c5d0b49ce30c380fb4b21864eafc3a838.1469181625.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Fri, 22 Jul 2016 13:00:09 +0300
Subject: [PATCH] msi: Use debugstr_guid() in TRACE() messages. (v2)

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 dlls/msi/automation.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c
index c3d2c67..b94fa84 100644
--- a/dlls/msi/automation.c
+++ b/dlls/msi/automation.c
@@ -289,7 +289,8 @@ static HRESULT WINAPI AutomationObject_GetIDsOfNames(
     ITypeInfo *ti;
     HRESULT hr;
 
-    TRACE("(%p/%p)->(%p,%p,%d,%d,%p)\n", iface, This, riid, rgszNames, cNames, lcid, rgDispId);
+    TRACE("(%p/%p)->(%s, %p, %d, %d, %p)\n", iface, This,
+            debugstr_guid(riid), rgszNames, cNames, lcid, rgDispId);
 
     if (!IsEqualGUID(riid, &IID_NULL)) return E_INVALIDARG;
 
@@ -332,7 +333,9 @@ static HRESULT WINAPI AutomationObject_Invoke(
     BSTR bstrName = NULL;
     ITypeInfo *ti;
 
-    TRACE("(%p/%p)->(%d,%p,%d,%d,%p,%p,%p,%p)\n", iface, This, dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
+    TRACE("(%p/%p)->(%d, %s, %d, %d, %p, %p, %p, %p)\n", iface, This,
+            dispIdMember, debugstr_guid(riid), lcid, wFlags,
+            pDispParams, pVarResult, pExcepInfo, puArgErr);
 
     if (!IsEqualIID(riid, &IID_NULL))
     {
-- 
2.5.5



More information about the wine-patches mailing list