0 out of 1 rated this helpful - Rate this topic

FindFirstUrlCacheGroup function

Applies to: desktop apps only

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.

ValueMeaning
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.

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

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

See also

Caching
WinINet Functions

 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ