Scroll to navigation

FreeUrlCacheSpaceW(3w) Wine API FreeUrlCacheSpaceW(3w)

NAME

FreeUrlCacheSpaceW (WININET.@)

SYNOPSIS

BOOL FreeUrlCacheSpaceW
(
LPCWSTR lpszCachePath,
DWORD dwSize,
DWORD dwSizeType
)
 

DESCRIPTION

Frees up some cache.
 

PARAMS

lpszCachePath [In] Which volume to free up from, or NULL if you don't care.
dwSize [In] How much space to free up.
dwSizeType [In] How to interpret dwSize.
 

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".
Implemented in "dlls/wininet/urlcache.c".
Debug channel "wininet".
Oct 2012 Wine API