This topic has not yet been rated - Rate this topic

FindNextUrlCacheEntryEx function

Applies to: desktop apps only

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

Syntax

BOOL FindNextUrlCacheEntryEx(
  __in        HANDLE hEnumHandle,
  __inout     LPINTERNET_CACHE_ENTRY_INFO lpNextCacheEntryInfo,
  __inout     LPDWORD lpcbEntryInfo,
  __reserved  LPVOID lpGroupAttributes,
  __reserved  LPDWORD lpcbGroupAttributes,
  __reserved  LPVOID lpReserved
);

Parameters

hEnumHandle [in]

Handle returned by FindFirstUrlCacheEntryEx, which started a cache enumeration.

lpNextCacheEntryInfo [in, out]

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

lpcbEntryInfo [in, out]

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

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

Unicode and ANSI names

FindNextUrlCacheEntryExW (Unicode) and FindNextUrlCacheEntryExA (ANSI)

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