---
name: "FreeUrlCacheSpaceW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/FreeUrlCacheSpaceW"
---

# 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"**.
