Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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 |
Windows Mobile | Windows Mobile Version 5.0 and later |