Deleting a Cache Entry

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.