Partager via


SetUrlCacheEntryInfo (Windows CE 5.0)

Send Feedback

This function sets the specified members of the INTERNET_CACHE_ENTRY_INFO structure.

BOOLSetUrlCacheEntryInfo(LPCSTRlpszUrlName,LPINTERNET_CACHE_ENTRY_INFOlpCacheEntryInfo,DWORDdwFieldControl);

Parameters

  • lpszUrlName
    [in] Address of a string value that contains the URL of the cached resource.
  • lpCacheEntryInfo
    [in] Address of an INTERNET_CACHE_ENTRY_INFO structure containing the values to be assigned to the cache entry designated by lpszUrlName.
  • dwFieldControl
    [in] Unsigned long integer value that contains a bitmask that indicates the members that are to be set. The following table shows the possible values. This parameter can be a combination of these values.
    Value Description
    CACHE_ENTRY_ACCTIME_FC Sets the last access time.
    CACHE_ENTRY_ATTRIBUTE_FC Sets the cache entry type.
    CACHE_ENTRY_EXEMPT_DELTA_FC Sets the exempt delta.
    CACHE_ENTRY_EXPTIME_FC Sets the expire time.
    CACHE_ENTRY_HEADERINFO_FC Not currently implemented.
    CACHE_ENTRY_HITRATE_FC Sets the hit rate.
    CACHE_ENTRY_MODTIME_FC Sets the last modified time.
    CACHE_ENTRY_SYNCTIME_FC Sets the last sync time.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Requirements

OS Versions: Windows CE 2.12 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

GetUrlCacheEntryInfo | INTERNET_CACHE_ENTRY_INFO | WinInet Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.