Re: urlmon: Implement URLDownloadToCacheFile

2006-06-29 Thread James Hawkins
On 6/29/06, Troy Rollo <[EMAIL PROTECTED]> wrote: This is not the correct behaviour - doing this will result in the cache directories filling up with files that are not mentioned in the cache index. You should be calling CreateUrlCacheEntryW to get the file name for the new file. I was looking

Re: urlmon: Implement URLDownloadToCacheFile

2006-06-29 Thread Troy Rollo
On Friday 30 June 2006 07:36, James Hawkins wrote: > +lstrcatW(cache_path, backslash); > +lstrcatW(cache_path, content); > + > +if (!GetTempFileNameW(cache_path, prefix, 0, cache_path)) > +return E_FAIL; > + > +if (lstrlenW(cache_path) > dwBufLength) > +return E_INVA