Deleting a Cache Entry
A version of this page is also available for
4/8/2010
The DeleteUrlCacheEntry function takes a URL and removes the associated cache file. If the cache file does not exist, the function fails and GetLastError returns ERROR_FILE_NOT_FOUND. If the cache file is currently locked or in use, the function fails and GetLastError returns ERROR_ACCESS_DENIED, and the file will be deleted when unlocked.