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, _Inout_ LPVOID lpReserved );
Parameters
- gid [in]
-
Identifier of the cache group.
- dwFlags [in]
-
This parameter is reserved and must be 0.
- dwAttributes [in]
-
Attributes to be set. This parameter can be one of the following values.
Value Meaning - CACHEGROUP_ATTRIBUTE_FLAG
Sets or retrieves the flags associated with the cache group.
- CACHEGROUP_ATTRIBUTE_GROUPNAME
Sets or retrieves the group name of the cache group.
- CACHEGROUP_ATTRIBUTE_QUOTA
Sets or retrieves the disk quota associated with the cache group.
- CACHEGROUP_ATTRIBUTE_STORAGE
Sets or retrieves the group owner storage associated with the cache group.
- CACHEGROUP_ATTRIBUTE_TYPE
Sets or retrieves the cache group type.
- CACHEGROUP_READWRITE_MASK
Sets the type, disk quota, group name, and owner storage attributes of the cache group.
- lpGroupInfo [in]
-
Pointer to an INTERNET_CACHE_GROUP_INFO structure that specifies the attribute information to be stored.
- lpReserved [in, out]
-
This parameter is reserved and must be NULL.
Return value
Returns TRUE if successful, or FALSE otherwise. To get specific error information, call GetLastError.
Remarks
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
SetUrlCacheGroupAttributeW (Unicode) and SetUrlCacheGroupAttributeA (ANSI) |
See also