SetUrlCacheEntryGroup

This function adds or removes entries from a cache group.

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

Parameters

  • lpszUrlName
    [in] Address of a string value that contains the URL of the cached resource.

  • dwFlags
    [in] Unsigned long integer value that determines whether the entry is added to or removed from a cache group. Can be one of the following values:

    Value Description
    INTERNET_CACHE_GROUP_ADD Adds the cache entry to the cache group.
    INTERNET_CACHE_GROUP_REMOVE Removes the cache entry from the cache group.
  • GroupId
    [in] GROUPID value that indicates the cache group that the entry will be added to or removed from.

  • pbGroupAttributes
    [in] Reserved. Must be set to NULL.

  • cbGroupAttributes
    [in] Reserved. Must be set to zero.

  • lpReserved
    [in] Reserved. Must be set to NULL.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Remarks

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Wininet.h   Wininet.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.