SftDirectory 2.5

SftDirectory.GetDiskspaceF Method

Softel vdm, Inc.

Determines disk space information for a disk volume.

Syntax       

VB.NET

object.GetDiskspaceF(ByVal Volume As String, ByRef FreeBytes As Double, ByRef TotalBytes As Double, ByRef FreeUserBytes As Double)

VB

object.GetDiskspaceF(ByVal Volume As String, FreeBytes As Double, TotalBytes As Double, FreeUserBytes As Double)

C#.NET

void object.GetDiskspaceF(string Volume, out double FreeBytes, out double TotalBytes, out double FreeUserBytes);

VC++

HRESULT object->GetDiskspaceF(_bstr_t Volume, double* FreeBytes, double* TotalBytes, double* FreeUserBytes);

C

HRESULT object->raw_GetDiskspaceF(BSTR Volume, double* FreeBytes, double* TotalBytes, double* FreeUserBytes);

Delphi

procedure object.GetDiskspaceF(Volume : WideString, out FreeBytes : Double, out TotalBytes : Double, out FreeUserBytes : Double);

object

A SftDirectory object.

Volume

A string that defines the volume for which size information is to be retrieved. This can be a drive letter, UNC name, or the path of a file/folder.

FreeBytes

Returns the number of bytes available on the specified volume.

TotalBytes

Returns the total number of bytes (used and free) on the specified volume.

FreeUserBytes

Returns the number of bytes available for the calling application on the specified volume. This value may be limited by user quotas and may be less than the free  space FreeUserBytes.

Comments

The GetDiskspaceF method determines disk space information for a disk volume.

The GetDiskspace method is identical, but uses different types for return values.


Feedback / comments / error reports for this topic
© 2003, 2008 - Softel vdm, Inc. - www.softelvdm.com