System.SysUtils.GetDiskFreeSpaceEx

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

GetDiskFreeSpaceEx: function (Directory: PChar; var FreeAvailable,
TotalSpace: TLargeInteger; TotalFree: PLargeInteger): Bool stdcall = nil;

Properties

Type Visibility Source Unit Parent
variable public System.SysUtils.pas System.SysUtils System.SysUtils

Description

Returns information about the space available on a disk volume.

Parameters:

Directory A directory on the target disk. This is the only input parameter.
FreeAvailable Number of free bytes available for the user associated with the calling thread.
TotalSpace Number of bytes available for the user associated with the calling thread.
TotalFree Number of free bytes.

See Also