Rob Shearman : ole32: Add some more traces to the data cache to make debugging easier.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 4 07:17:16 CST 2006


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Sat Dec  2 18:17:05 2006 +0000

ole32: Add some more traces to the data cache to make debugging easier.

---

 dlls/ole32/datacache.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
index ff08432..5dd6bd6 100644
--- a/dlls/ole32/datacache.c
+++ b/dlls/ole32/datacache.c
@@ -1643,6 +1643,8 @@ static HRESULT WINAPI DataCache_Draw(
     }
   }
 
+  WARN("no data could be found to be drawn\n");
+
   return OLE_E_BLANK;
 }
 
@@ -1856,6 +1858,8 @@ static HRESULT WINAPI DataCache_GetExten
     }
   }
 
+  WARN("no data could be found to get the extents from\n");
+
   /*
    * This method returns OLE_E_BLANK when it fails.
    */
@@ -1927,6 +1931,7 @@ static HRESULT WINAPI DataCache_Cache(
     cache_entry = DataCache_GetEntryForFormatEtc(This, pformatetc);
     if (cache_entry)
     {
+        TRACE("found an existing cache entry\n");
         *pdwConnection = cache_entry->id;
         return CACHE_S_SAMECACHE;
     }
@@ -1955,6 +1960,8 @@ static HRESULT WINAPI DataCache_Uncache(
             return S_OK;
         }
 
+    WARN("no connection found for %d\n", dwConnection);
+
     return OLE_E_NOCONNECTION;
 }
 




More information about the wine-cvs mailing list