http://bugs.winehq.org/show_bug.cgi?id=23876
Alexander Scott-Johns alexander.scott.johns+winebug@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33464|0 |1 is obsolete| |
--- Comment #27 from Alexander Scott-Johns alexander.scott.johns+winebug@googlemail.com 2011-02-28 20:14:42 CST --- Created an attachment (id=33487) --> (http://bugs.winehq.org/attachment.cgi?id=33487) Patch to inetcpl and wininet to allow you to delete history, Temp Internet Files and cookies
(In reply to comment #26)
The better way is to move the deletion of the files into wininet.dll. According to the Interwebs, native inetcpl.cpl calls FreeUrlCacheSpace with parameters 100, 0 to free the cache.
I've partially implemented this, but to do it properly will require implementing {FindFirst,FindNext,Delete}UrlCacheEntry(), which involves iterators, etc. Yuck. (And they are available only on IE5? Does that mean they are not available in IE6+ ?)
And (for future reference) here is a link to some old MS documentation, which includes info about FreeUrlCacheSpace: http://web.archive.org/web/20040604163615/activex.adsp.or.jp/japanese/specs/...