INTERNET_CACHE_CONFIG_INFOA structure (winineti.h)

Contains information about the configuration of the Internet cache.

Syntax

typedef struct _INTERNET_CACHE_CONFIG_INFOA {
  DWORD dwStructSize;
  DWORD dwContainer;
  DWORD dwQuota;
  DWORD dwReserved4;
  BOOL  fPerUser;
  DWORD dwSyncMode;
  DWORD dwNumCachePaths;
  union {
    struct {
      CHAR  CachePath[MAX_PATH];
      DWORD dwCacheSize;
    };
    INTERNET_CACHE_CONFIG_PATH_ENTRYA CachePaths[ANYSIZE_ARRAY];
  };
  DWORD dwNormalUsage;
  DWORD dwExemptUsage;
} INTERNET_CACHE_CONFIG_INFOA, *LPINTERNET_CACHE_CONFIG_INFOA;

Members

dwStructSize

Size of this structure, in bytes. This value can be used to help determine the version of the cache system.

dwContainer

The container that the rest of the data in the struct applies to. 0 (zero) indicates the content container.

dwQuota

The cache quota limit of the container specified in kilobytes.

dwReserved4

Reserved.

fPerUser

Reserved.

dwSyncMode

Reserved.

dwNumCachePaths

Reserved.

CachePath[MAX_PATH]

The cache path for the container in dwContainer.

dwCacheSize

Reserved.

CachePaths[ANYSIZE_ARRAY]

Reserved.

dwNormalUsage

The cache size of the container specified in kilobytes.

dwExemptUsage

The number of kilobytes for this container exempt from scavenging.

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).
 

Note

The winineti.h header defines INTERNET_CACHE_CONFIG_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP4 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP4 [desktop apps only]
Header winineti.h

See also

GetUrlCacheConfigInfo