Detlef Riekenberg : devenum: Remove tabs and duplicate newlines from TRACE.

Alexandre Julliard julliard at winehq.org
Tue May 8 14:16:54 CDT 2012


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Mon May  7 21:21:24 2012 +0200

devenum: Remove tabs and duplicate newlines from TRACE.

---

 dlls/devenum/createdevenum.c |    5 ++---
 dlls/devenum/factory.c       |    4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/devenum/createdevenum.c b/dlls/devenum/createdevenum.c
index f4e8727..4a2e101 100644
--- a/dlls/devenum/createdevenum.c
+++ b/dlls/devenum/createdevenum.c
@@ -62,7 +62,7 @@ static HRESULT DEVENUM_CreateSpecialCategories(void);
 static HRESULT WINAPI DEVENUM_ICreateDevEnum_QueryInterface(ICreateDevEnum *iface, REFIID riid,
         void **ppv)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%s, %p)\n", iface, debugstr_guid(riid), ppv);
 
     if (!ppv)
         return E_POINTER;
@@ -463,8 +463,7 @@ static HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
     HKEY hbasekey;
     HRESULT hr;
 
-    TRACE("(%p)->(%s, %p, %x)\n\tDeviceClass:\t%s\n", iface, debugstr_guid(clsidDeviceClass),
-          ppEnumMoniker, dwFlags, debugstr_guid(clsidDeviceClass));
+    TRACE("(%p)->(%s, %p, %x)\n", iface, debugstr_guid(clsidDeviceClass), ppEnumMoniker, dwFlags);
 
     if (!ppEnumMoniker)
         return E_POINTER;
diff --git a/dlls/devenum/factory.c b/dlls/devenum/factory.c
index 215eb3a..c808fa5 100644
--- a/dlls/devenum/factory.c
+++ b/dlls/devenum/factory.c
@@ -31,7 +31,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(devenum);
 static HRESULT WINAPI DEVENUM_IClassFactory_QueryInterface(IClassFactory *iface, REFIID riid,
     void **ppvObj)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%s, %p)\n", iface, debugstr_guid(riid), ppvObj);
 
     if (ppvObj == NULL) return E_POINTER;
 
@@ -81,7 +81,7 @@ static ULONG WINAPI DEVENUM_IClassFactory_Release(IClassFactory *iface)
 static HRESULT WINAPI DEVENUM_IClassFactory_CreateInstance(IClassFactory *iface,
         IUnknown *pUnkOuter, REFIID riid, void **ppvObj)
 {
-    TRACE("\n\tIID:\t%s\n",debugstr_guid(riid));
+    TRACE("(%p)->(%p, %s, %p)\n", iface, pUnkOuter, debugstr_guid(riid), ppvObj);
 
     if (ppvObj == NULL) return E_POINTER;
 




More information about the wine-cvs mailing list