Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.52 KB

FindFirstUrlCacheEntry.md

File metadata and controls

54 lines (37 loc) · 1.52 KB

Home

Function name : FindFirstUrlCacheEntry

Group: Internet Functions (WinInet) - Library: wininet


Begins the enumeration of the Internet cache.


Code examples:

How to enumerate cookies and URL History entries in the cache of the local computer
How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory

Declaration:

HANDLE FindFirstUrlCacheEntry(
  LPCTSTR lpszUrlSearchPattern,
  LPINTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo,
  LPDWORD lpdwFirstCacheEntryInfoBufferSize
);
  

FoxPro declaration:

DECLARE INTEGER FindFirstUrlCacheEntry In wininet;
	STRING  lpszUrlSearchPattern,;
	LONG    lpFirstCacheEntryInfo,;
	LONG  @ lpdwFirstCacheEntryInfoBufferSize
  

Parameters:

lpszUrlSearchPattern [in] Pointer to a string that contains the source name pattern to search for.

lpFirstCacheEntryInfo [out] Pointer to an INTERNET_CACHE_ENTRY_INFO structure.

lpdwFirstCacheEntryInfoBufferSize [in, out] Pointer to a variable that specifies the size of the lpFirstCacheEntryInfo buffer.


Return value:

Returns a handle that the application can use in the FindNextUrlCacheEntry function to retrieve subsequent entries in the cache. If the function fails, the return value is NULL.