다음을 통해 공유


SetUrlCacheEntryGroup (Windows CE 5.0)

Send Feedback

Adds entries to or removes entries from a cache group.

BOOL SetUrlCacheEntryGroup(  LPCTSTR lpszUrlName,
  DWORD dwFlags,
  GROUPID GroupId,
  LPBYTE pbGroupAttributes,
  DWORD cbGroupAttributes,  LPVOID lpReserved);

Parameters

  • lpszUrlName
    [in] Pointer to a null-terminated string value that specifies the URL of the cached resource.
  • dwFlags
    [in] Determines whether the entry is added to or removed from a cache group. This parameter can be one of the following values.
    Value Meaning
    INTERNET_CACHE_GROUP_ADD Adds the cache entry to the cache group.
    INTERNET_CACHE_GROUP_REMOVE Removes the entry from the cache
  • GroupId
    [in] Identifier of the cache group that the entry will be added to or removed from.
  • pbGroupAttributes
    [in] Reserved. Must be NULL.
  • cbGroupAttributes
    [in] Reserved. Must be zero.
  • lpReserved
    [in] Reserved. Must be NULL.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Remarks

A cache entry can belong to more than one cache group.

Requirements

OS Versions: Windows CE 2.12 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

WinInet Functions | FindNextUrlCacheGroup | FindFirstUrlCacheGroup | CreateUrlCacheGroup | DeleteUrlCacheGroup

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.