Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.48 KB

FindFirstUrlCacheGroup.md

File metadata and controls

68 lines (48 loc) · 1.48 KB

Home

Function name : FindFirstUrlCacheGroup

Group: Internet Functions (WinInet) - Library: wininet


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


Code examples:

How to enumerate cookies and URL History entries in the cache of the local computer

Declaration:

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

FoxPro declaration:

DECLARE INTEGER FindFirstUrlCacheGroup In wininet;
	LONG      dwFlags,;
	LONG      dwFilter,;
	LONG      lpSearchCond,;
	LONG      dwSearchCond,;
	STRING  @ lpGroupId,;
	INTEGER @ lpReserved
  

Parameters:

dwFlags [in] Reserved. Must be zero.

dwFilter [in] Filters to be used.

lpSearchCondition [in] Reserved. Must be NULL.

dwSearchCondition [in] Reserved. Must be zero.

lpGroupId [out] Pointer to the ID of the first cache group that matches the search criteria.

lpReserved [in, out] Reserved. Must be 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.