GetUrlCacheGroupAttribute

This function retrieves the attribute information of the specified cache group.

BOOL GetUrlCacheGroupAttribute(
  GROUPID gid,
  DWORD dwFlags,
  DWORD dwAttributes,
  LPINTERNET_CACHE_GROUP_INFO lpGroupInfo,
  LPDWORD lpdwGroupInfo,
  LPVOID lpReserved
);

Parameters

  • gid
    [in] GROUPID of the cache group.

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

  • dwAttributes
    [in] Unsigned long integer value that contains the attributes to retrieve. The following table shows the possible values. This parameter can be one of these values.

    Value Description
    CACHEGROUP_ATTRIBUTE_BASIC Retrieves the flags, type, and disk quota attributes of the cache group.
    CACHEGROUP_ATTRIBUTE_FLAG Sets or retrieves the flags associated with the cache group.
    CACHEGROUP_ATTRIBUTE_GET_ALL Retrieves all the attributes of 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.
  • lpGroupInfo
    [out] Pointer to buffer that contains an INTERNET_CACHE_GROUP_INFO structure to store the requested information.

  • lpdwGroupInfo
    [in, out] Pointer to an unsigned long integer value that contains the size of the lpGroupInfo buffer.

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

Return Values

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

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

WinInet Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.