SetUrlCacheEntryGroup (Windows Embedded CE 6.0)

1/6/2010

Adds entries to or removes entries from a cache group.

Syntax

BOOL SetUrlCacheEntryGroup(
  LPCTSTR lpszUrlName,
  DWORD dwFlags,
  GROUPID GroupId,
  LPBYTE pbGroupAttributes,
  DWORD cbGroupAttributes,
  LPVOID lpReserved
);

Parameters

  • lpszUrlName
    [in] Pointer to a null-terminated string value that specifies the URL of the cached resource.
  • dwFlags
    [in] Determines whether the entry is added to or removed from a cache group. This parameter can be one of the following values.

    Value Meaning

    INTERNET_CACHE_GROUP_ADD

    Adds the cache entry to the cache group.

    INTERNET_CACHE_GROUP_REMOVE

    Removes the entry from the cache

  • GroupId
    [in] Identifier of the cache group that the entry will be added to or removed from.
  • pbGroupAttributes
    [in] Reserved. Must be NULL.
  • cbGroupAttributes
    [in] Reserved. Must be zero.
  • lpReserved
    [in] Reserved. Must be NULL.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Remarks

A cache entry can belong to more than one cache group.

Requirements

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

See Also

Reference

WinInet Functions
FindNextUrlCacheGroup
FindFirstUrlCacheGroup
CreateUrlCacheGroup
DeleteUrlCacheGroup