Export (0) Print
Expand All
Expand Minimize
0 out of 2 rated this helpful - Rate this topic

DeleteUrlCacheEntry function

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 codeDescription
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.

 

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

Unicode and ANSI names

DeleteUrlCacheEntryW (Unicode) and DeleteUrlCacheEntryA (ANSI)

See also

Caching
WinINet Functions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.