Removes the file associated with the source name from the cache, if the file exists.
Syntax
BOOLAPI DeleteUrlCacheEntry(
__in LPCTSTR lpszUrlName
);
Parameters
- lpszUrlName [in]
-
Pointer to a string that contains the name of the source that corresponds to the cache entry.
Return Value
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call
GetLastError. Possible error values include the following.
| Return code | Description |
- ERROR_ACCESS_DENIED
| The file is locked or in use. The entry is marked and deleted when the file is unlocked.
|
- ERROR_FILE_NOT_FOUND
| The file is not in the cache.
|
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Version | Internet Explorer 3.0 or later |
| Header | Wininet.h |
| Library | Wininet.lib |
| DLL | Wininet.dll |
| Unicode and ANSI names | DeleteUrlCacheEntryW (Unicode) and DeleteUrlCacheEntryA (ANSI) |
See Also
- Caching
- WinINet Functions
Send comments about this topic to Microsoft
Build date: 11/19/2009