Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Initiates the enumeration of the cache groups in the Internet cache.

Syntax

BOOL FindFirstUrlCacheGroup(
  DWORD 
dwFlags,
  DWORD 
dwFilter,
  LPVOID 
lpSearchCondition,
  DWORD 
dwSearchCondition,
  GROUPID* 
lpGroupId,
  LPVOID 
lpReserved
);

Parameters

dwFlags

[in] Reserved. Must be zero.

dwFilter

[in] Filters to be used. This parameter can be one of the following values.

Value Meaning

CACHEGROUP_SEARCH_ALL

Search all cache groups.

CACHEGROUP_SEARCH_BYURL

Not currently implemented.

lpSearchCondition

[in] Reserved. Must be NULL.

dwSearchCondition

[in] Reserved. Must be zero.

lpGroupId

[out] Pointer to the ID of the first cache group that matches the search criteria.

lpReserved

[in, out] Reserved. Must be NULL.

Return Value

Returns a valid handle if successful, or NULL otherwise. To get specific error information, call GetLastError. If the function finds no matching files, GetLastErrorreturns ERROR_NO_MORE_FILES.

Requirements

Header wininet.h
Library wininet.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also