DeleteUrlCacheEntry Removes the file associated with the source name from the cache, if the file exists.
VB4-32,5,6
Declare Function DeleteUrlCacheEntry Lib "wininet.dll" Alias "DeleteUrlCacheEntryA" (ByVal lpszUrlName As String) As Long |
Operating Systems Supported |
- lpszUrlName
[in] Pointer to a string that contains the name of the source corresponding to the cache entry. |
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError. Possible error values include:
ERROR_ACCESS_DENIED
The file is locked or in use. The entry will be marked and will be deleted when the file is unlocked.
ERROR_FILE_NOT_FOUND
The file is not in the cache. |
|