SetUrlCacheEntryGroup function
Adds entries to or removes entries from a cache group.
Syntax
BOOLAPI SetUrlCacheEntryGroup( _In_ LPCTSTR lpszUrlName, _In_ DWORD dwFlags, _In_ GROUPID GroupId, _In_ LPBYTE pbGroupAttributes, _In_ DWORD cbGroupAttributes, _In_ LPVOID lpReserved );
Parameters
- lpszUrlName [in]
-
Pointer to a null-terminated string value that specifies the URL of the cached resource.
- dwFlags [in]
-
Determines whether the entry is added to or removed from a cache group. This parameter can be one of the following values.
Value Meaning - INTERNET_CACHE_GROUP_ADD
Adds the cache entry to the cache group.
- INTERNET_CACHE_GROUP_REMOVE
Removes the entry from the cache group.
- GroupId [in]
-
Identifier of the cache group that the entry will be added to or removed from.
- pbGroupAttributes [in]
-
This parameter is reserved and must be NULL.
- cbGroupAttributes [in]
-
This parameter is reserved and must be 0.
- lpReserved [in]
-
This parameter is reserved and must be NULL.
Return value
Returns TRUE if successful, or FALSE otherwise.
Remarks
A cache entry can belong to more than one cache group.
Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.
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 |
SetUrlCacheEntryGroupW (Unicode) and SetUrlCacheEntryGroupA (ANSI) |
See also