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

This commit is contained in:
Rob Shearman 2006-12-02 18:17:05 +00:00 committed by Alexandre Julliard
parent e99168e1ba
commit feee099eec

View File

@ -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;
}