Group: Internet Functions (WinInet) - Library: wininet
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
HANDLE FindFirstUrlCacheEntry(
LPCTSTR lpszUrlSearchPattern,
LPINTERNET_CACHE_ENTRY_INFO lpFirstCacheEntryInfo,
LPDWORD lpdwFirstCacheEntryInfoBufferSize
);
DECLARE INTEGER FindFirstUrlCacheEntry In wininet;
STRING lpszUrlSearchPattern,;
LONG lpFirstCacheEntryInfo,;
LONG @ lpdwFirstCacheEntryInfoBufferSize
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.
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.