FindFirstUrlCacheGroup function
Initiates the enumeration of the cache groups in the Internet cache.
Syntax
HANDLE FindFirstUrlCacheGroup( _Reserved_ DWORD dwFlags, _In_ DWORD dwFilter, _Reserved_ LPVOID lpSearchCondition, _Reserved_ DWORD dwSearchCondition, _Out_ GROUPID *lpGroupId, _Reserved_ LPVOID lpReserved );
Parameters
- dwFlags [in]
-
This parameter is reserved and must be 0.
- dwFilter [in]
-
Filters to be used. This parameter can be zero or one of the following values.
Value Meaning - CACHEGROUP_SEARCH_ALL
Search all cache groups.
- CACHEGROUP_SEARCH_BYURL
Not currently implemented.
- lpSearchCondition [in]
-
This parameter is reserved and must be NULL.
- dwSearchCondition [in]
-
This parameter is reserved and must be 0.
- lpGroupId [out]
-
Pointer to the ID of the first cache group that matches the search criteria.
- lpReserved [in, out]
-
This parameter is reserved and must be NULL.
Return value
Returns a valid handle to the first item in the enumeration if successful, or NULL otherwise. To get specific error information, call GetLastError. If the function finds no matching files, GetLastError returns ERROR_NO_MORE_FILES.
Remarks
The handle returned from FindFirstUrlCacheGroup is used in subsequent calls to FindNextUrlCacheGroup. At the end of the enumeration, the application should call FindCloseUrlCache.
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 |
|
See also