GetUrlCacheGroupAttributeA function (wininet.h)
Retrieves the attribute information of the specified cache group.
Syntax
BOOL GetUrlCacheGroupAttributeA(
[in] GROUPID gid,
[in] DWORD dwFlags,
[in] DWORD dwAttributes,
[out] LPINTERNET_CACHE_GROUP_INFOA lpGroupInfo,
[in, out] LPDWORD lpcbGroupInfo,
[in, out] LPVOID lpReserved
);
Parameters
[in] gid
Identifier of the cache group.
[in] dwFlags
This parameter is reserved and must be 0.
[in] dwAttributes
Attributes to be retrieved. This can be one of the following values.
Value | Meaning |
---|---|
|
Retrieves the flags, type, and disk quota attributes of the cache group. |
|
Sets or retrieves the flags associated with the cache group. |
|
Retrieves all the attributes of the cache group. |
|
Sets or retrieves the group name of the cache group. |
|
Sets or retrieves the disk quota associated with the cache group. |
|
Sets or retrieves the group owner storage associated with the cache group. |
|
Sets or retrieves the cache group type. |
[out] lpGroupInfo
Pointer to an INTERNET_CACHE_GROUP_INFO structure that receives the requested information.
[in, out] lpcbGroupInfo
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.
[in, out] lpReserved
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
The wininet.h header defines GetUrlCacheGroupAttribute as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wininet.h |
Library | Wininet.lib |
DLL | Wininet.dll |