Reference

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

History