Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function unlocks the cache entry that was locked while the file was retrieved for use from the cache.

Syntax

BOOL UnlockUrlCacheEntryFile(
  LPCSTR 
lpszUrlName,
  DWORD 
dwReserved
);

Parameters

lpszUrlName

[in] Address of a string that contains the source name of the cache entry that is being unlocked. The name string should not contain any escape characters.

dwReserved

[in] Reserved. Must be set to zero.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Remarks

The application should not access the file after calling this function.

When this function returns, the cache manager is free to delete the cache entry.

Requirements

Header wininet.h
Library wininet.lib
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also