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

SetUrlCacheGroupAttribute Function


Sets the attribute information of the specified cache group.

Syntax

BOOL SetUrlCacheGroupAttribute(
    IN GROUPID gid,
    IN DWORD dwFlags,
    IN DWORD dwAttributes,
    IN LPINTERNET_CACHE_GROUP_INFO lpGroupInfo,
    IN OUT LPVOID lpReserved
);

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

Parameters

gid
GROUPID of the cache group.
dwFlags
Reserved. Must be set to zero.
dwAttributes
Unsigned long integer value that indicates what attributes to set. This can be one of the following values:
CACHEGROUP_ATTRIBUTE_FLAG
CACHEGROUP_ATTRIBUTE_GROUPNAME
CACHEGROUP_ATTRIBUTE_QUOTA
CACHEGROUP_ATTRIBUTE_STORAGE
CACHEGROUP_ATTRIBUTE_TYPE
CACHEGROUP_READWRITE_MASK
lpGroupInfo
Address of an INTERNET_CACHE_GROUP_INFO structure that contains the attribute information to store.
lpReserved
Reserved. Must be set to NULL.

Return Value

Returns TRUE if successful, or FALSE otherwise. To get specific error information, call GetLastError.

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 5 (ANSI and Unicode)


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.