FindFirstUrlCacheGroup (Windows Embedded CE 6.0)

1/6/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, GetLastError returns ERROR_NO_MORE_FILES.

Requirements

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

See Also

Reference

WinInet Functions
GetUrlCacheGroupAttribute
SetUrlCacheEntryGroup
FindNextUrlCacheGroup
CreateUrlCacheGroup
DeleteUrlCacheGroup