NAME

FreeUrlCacheSpaceW  (WININET.@)

SYNOPSIS

 BOOL FreeUrlCacheSpaceW
 (
  LPCWSTR cache_path,
  DWORD   size,
  DWORD   filter
 )

DESCRIPTION

Frees up some cache.

PARAMS

cache_path [In] Which volume to free up from, or NULL if you don't care.
size [In] Percentage of the cache that should be free.
filter [In] Which entries can't be deleted (CacheEntryType).

RETURNS

TRUE success. FALSE failure.

IMPLEMENTATION

This implementation just retrieves the path of the cache directory, and deletes its contents from the filesystem. The correct approach would probably be to implement and use {FindFirst,FindNext,Delete}UrlCacheGroup.

IMPLEMENTATION

Declared in "wininet.h". https://source.winehq.org/source/include/wininet.h

Implemented in "dlls/wininet/urlcache.c". https://source.winehq.org/source/dlls/wininet/urlcache.c

Debug channel "wininet".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.