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 "include/wininet.h". gitlab.winehq.org/wine/wine/blob/master/include/wininet.h

Implemented in "dlls/wininet/urlcache.c". gitlab.winehq.org/wine/wine/blob/master/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 Nov 2024.