Huw Davies : ole32: Improve the TRACEs by printing the fmtetc contents.

Alexandre Julliard julliard at winehq.org
Wed Apr 22 10:18:52 CDT 2009


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Apr 22 15:26:04 2009 +0100

ole32: Improve the TRACEs by printing the fmtetc contents.

---

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

diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index 7255323..92795c6 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -1138,7 +1138,7 @@ static HRESULT WINAPI snapshot_GetData(IDataObject *iface, FORMATETC *fmt,
     ole_priv_data_entry *entry;
     DWORD mask;
 
-    TRACE("(%p,%p,%p)\n", iface, fmt, med);
+    TRACE("(%p, %p {%s}, %p)\n", iface, fmt, dump_fmtetc(fmt), med);
 
     if ( !fmt || !med ) return E_INVALIDARG;
 
@@ -1203,7 +1203,7 @@ end:
 static HRESULT WINAPI snapshot_GetDataHere(IDataObject *iface, FORMATETC *fmt,
                                            STGMEDIUM *med)
 {
-    FIXME("(%p, %p, %p): stub\n", iface, fmt, med);
+    FIXME("(%p, %p {%s}, %p): stub\n", iface, fmt, dump_fmtetc(fmt), med);
     return E_NOTIMPL;
 }
 
@@ -1217,7 +1217,7 @@ static HRESULT WINAPI snapshot_GetDataHere(IDataObject *iface, FORMATETC *fmt,
  */
 static HRESULT WINAPI snapshot_QueryGetData(IDataObject *iface, FORMATETC *fmt)
 {
-    FIXME("(%p, %p)\n", iface, fmt);
+    FIXME("(%p, %p {%s})\n", iface, fmt, dump_fmtetc(fmt));
 
     if (!fmt) return E_INVALIDARG;
 




More information about the wine-cvs mailing list