FindNextUrlCacheEntryExA function (wininet.h)

Finds the next cache entry in a cache enumeration started by the FindFirstUrlCacheEntryEx function.

Syntax

BOOL FindNextUrlCacheEntryExA(
  [in]      HANDLE                       hEnumHandle,
  [in, out] LPINTERNET_CACHE_ENTRY_INFOA lpNextCacheEntryInfo,
  [in, out] LPDWORD                      lpcbCacheEntryInfo,
            LPVOID                       lpGroupAttributes,
            LPDWORD                      lpcbGroupAttributes,
            LPVOID                       lpReserved
);

Parameters

[in] hEnumHandle

Handle returned by FindFirstUrlCacheEntryEx, which started a cache enumeration.

[in, out] lpNextCacheEntryInfo

Pointer to the
INTERNET_CACHE_ENTRY_INFO structure that receives the cache entry information.

[in, out] lpcbCacheEntryInfo

Pointer to a variable that indicates the size of the buffer, in bytes.

lpGroupAttributes

This parameter is reserved and must be NULL.

lpcbGroupAttributes

This parameter is reserved and must be NULL.

lpReserved

This parameter is reserved.

Return value

Returns TRUE if successful, or FALSE otherwise. To get specific error information, call GetLastError.

Remarks

Continue to call FindNextUrlCacheEntryEx until the last item in the cache is returned.

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

Note

The wininet.h header defines FindNextUrlCacheEntryEx as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wininet.h
Library Wininet.lib
DLL Wininet.dll

See also

Caching

WinINet Functions