DeleteUrlCacheGroup function (wininet.h)

Releases the specified GROUPID and any associated state in the cache index file.

Syntax

BOOL DeleteUrlCacheGroup(
  [in] GROUPID GroupId,
  [in] DWORD   dwFlags,
  [in] LPVOID  lpReserved
);

Parameters

[in] GroupId

ID of the cache group to be released.

[in] dwFlags

Controls the cache group deletion. This can be set to any member of the cache group constants. When this parameter is set to CACHEGROUP_FLAG_FLUSHURL_ONDELETE, it causes DeleteUrlCacheGroup to delete all of the cache entries associated with this group, unless the entry belongs to another group.

[in] lpReserved

This parameter is reserved and must be NULL.

Return value

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

Remarks

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

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