Export (0) Print
Expand All
Expand Minimize

DeleteUrlCacheGroup function

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

Syntax


BOOL DeleteUrlCacheGroup(
  _In_        GROUPID GroupId,
  _In_        DWORD dwFlags,
  _Reserved_  LPVOID lpReserved
);

Parameters

GroupId [in]

ID of the cache group to be released.

dwFlags [in]

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.

lpReserved [in]

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wininet.h

Library

Wininet.lib

DLL

Wininet.dll

See also

Caching
WinINet Functions

 

 

Show:
© 2014 Microsoft