Commit feee099e authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent e99168e1
......@@ -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_GetExtent(
}
}
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment