Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

GetUrlCacheGroupAttribute function

Retrieves the attribute information of the specified cache group.

Syntax


BOOL GetUrlCacheGroupAttribute(
  _In_        GROUPID gid,
  _Reserved_  DWORD dwFlags,
  _In_        DWORD dwAttributes,
  _Out_       LPINTERNET_CACHE_GROUP_INFO lpGroupInfo,
  _Inout_     LPDWORD lpdwGroupInfo,
  _Reserved_  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 retrieved. This can be one of the following values.

ValueMeaning
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 an INTERNET_CACHE_GROUP_INFO structure that receives the requested information.

lpdwGroupInfo [in, out]

Pointer to a variable that contains the size of the lpGroupInfo buffer. When the function returns, the variable contains the number of bytes copied to the buffer, or the required size of the buffer, in bytes.

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

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

Unicode and ANSI names

GetUrlCacheGroupAttributeW (Unicode) and GetUrlCacheGroupAttributeA (ANSI)

See also

Caching
WinINet Functions

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.