Partager via


GetUrlCacheEntryInfo (Windows Embedded CE 6.0)

1/6/2010

This function retrieves data about a cache entry.

Syntax

BOOL GetUrlCacheEntryInfo( 
  LPCTSTR lpszUrlName,
  LPINTERNET_CACHE_ENTRY_INFO lpCacheEntryInfo,
  LPDWORD lpdwCacheEntryInfoBufferSize
);

Parameters

  • lpszUrlName
    [in] Address of a string that contains the cache entry name. This string should not contain escape characters.
  • lpdwCacheEntryInfoBufferSize
    [in, out] Address of an unsigned long integer variable that specifies the lpCacheEntryInfo buffer size, in bytes. When the function returns, the variable contains the number of bytes copied to the buffer, or the required buffer size.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Remarks

This function does not parse a Uniform Resource Locator (URL), so a URL containing an anchor (#) will not be found in the cache, even if the resource is cached. For example, if the URL http://example.com/example.htm\#sample was passed, the function would return ERROR_FILE_NOT_FOUND even if http://example.com/example.htm is in the cache.

Requirements

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

See Also

Reference

WinInet Functions
SetUrlCacheEntryInfo
INTERNET_CACHE_ENTRY_INFO