共用方式為


UnlockUrlCacheEntryFile

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

RetrieveUrlCacheEntryFile
WinInet Functions