Click to return to the Networking, Protocols     
FindFirstUrlCacheEntryEx ...     FindNextUrlCacheEntry Fun...     Persistent URL Cache Func...    
Web Workshop  |  Networking, Protocols & Data Formats

FindFirstUrlCacheGroup Function


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

Syntax

HANDLE FindFirstUrlCacheGroup(
    IN DWORD dwFlags,
    IN DWORD dwFilter,
    IN LPVOID lpSearchCondition,
    IN DWORD dwSearchCondition,
    OUT GROUPID *lpGroupId,
    IN OUT LPVOID lpReserved
);

Parameters

dwFlags
Reserved. Must be set to zero.
dwFilter
Unsigned long integer value that indicates what filters to use. This can be one of the following values:
CACHEGROUP_SEARCH_ALL
Search all of the cache groups.
CACHEGROUP_SEARCH_BYURL
Not currently implemented.
lpSearchCondition
Reserved. Must be set to NULL.
dwSearchCondition
Reserved. Must be set to zero.
lpGroupId
Address of a GROUPID variable that contains the identification of the first cache group that matches the search criteria.
lpReserved
Reserved. Must be set to 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.

Function Information

Windows NT Use version 4.0. Implemented only as an ANSI function.
Windows Use Windows 95 and later. Implemented only as an ANSI function.
Header Wininet.h
Import library Wininet.lib
Minimum availability Internet Explorer 5


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.