Click to return to the Networking, Protocols     
RetrieveUrlCacheEntryStre...     SetUrlCacheEntryInfo Func...     Persistent URL Cache Func...    
Web Workshop  |  Networking, Protocols & Data Formats

SetUrlCacheEntryGroup Function


Adds entries to or removes entries from a cache group.

Syntax

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

The actual syntax of this function varies between its ANSI and Unicode implementations. For more information, see Win32 Internet Functions Syntax.

Parameters

lpszUrlName
Address of a string value that contains the URL of the cached resource.
dwFlags
Unsigned long integer value that determines whether the entry is added to or removed from a cache group. This can be one of the following values:
INTERNET_CACHE_GROUP_ADD
Adds the cache entry to the cache group.
INTERNET_CACHE_GROUP_REMOVE
Removes the entry from the cache group.
GroupId
GROUPID value that indicates the cache group that the entry will be added to or removed from.
pbGroupAttributes
Reserved. Must be set to NULL.
cbGroupAttributes
Reserved. Must be set to zero.
lpReserved
Reserved. Must be set to NULL.

Return Value

Returns TRUE if successful, or FALSE otherwise.

Remarks

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

Function Information

Windows NT Use version 4.0. Implemented as ANSI and Unicode functions.
Windows Use Windows 95 and later. Implemented as ANSI and Unicode functions.
Header Wininet.h
Import library Wininet.lib
Minimum availability Internet Explorer 4.0 (ANSI only), 5 (ANSI and Unicode)

Windows CE

Windows CE Use version 2.12 and later. Implemented as ANSI and Unicode functions.
Minimum availability Internet Explorer 4.0

See Also

Microsoft Win32 Internet Functions Overview, Caching, Microsoft Win32 Internet Functions Reference, Persistent URL Cache Functions



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.