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.

See Also

Caching

© 2005 Microsoft Corporation. All rights reserved.