SetUrlCacheEntryGroup function
Applies to: desktop apps only
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.
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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | SetUrlCacheEntryGroupW (Unicode) and SetUrlCacheEntryGroupA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 2/7/2012