Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

BOOL DeleteUrlCacheGroup(
  GROUPID 
GroupId,
  DWORD 
dwFlags,
  LPVOID 
lpReserved
)

Parameters

GroupId

[in] ID of the cache group to be released.

dwFlags

[in] Controls the cache group deletion. This parameter can be set to CACHEGROUP_FLAG_FLUSHURL_ONEDELETE, which causes DeleteUrlCacheGroupto delete all of the cache entries associated with this group, unless the entry belongs to another group.

lpReserved

[in] Reserved. Must be NULL.

Return Value

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

Requirements

Header wininet.h
Library wininet.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also