CreateUrlCacheGroup function (wininet.h)

Generates cache group identifications.

Syntax

GROUPID CreateUrlCacheGroup(
  [in] DWORD  dwFlags,
  [in] LPVOID lpReserved
);

Parameters

[in] dwFlags

Controls the creation of the cache group. This parameter can be set to CACHEGROUP_FLAG_GIDONLY, which causes CreateUrlCacheGroup to generate a unique GROUPID, but does not create a physical group.

[in] lpReserved

This parameter is reserved and must be NULL.

Return value

Returns a valid GROUPID 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