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

# GetDiskFreeSpaceExW(3w)

## NAME

**GetDiskFreeSpaceExW** (KERNEL32.@)

## SYNOPSIS

BOOL GetDiskFreeSpaceExW\
  (\
   LPCWSTR         *root*,\
   PULARGE\_INTEGER *avail*,\
   PULARGE\_INTEGER *total*,\
   PULARGE\_INTEGER *totalfree*\
  )

## DESCRIPTION

This function is used to acquire the size of the available and *total* space on a logical volume.

## RETURNS

Zero on failure, nonzero upon success. Use GetLastError to obtain detailed error information.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/volume.c"**.

Debug channel **"volume"**.
