Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.GetDiskspace Method

Determines disk space information for a disk volume.

Syntax

VB.NETobject.GetDiskspace(ByVal Volume As String, ByRef FreeBytes As Long, ByRef TotalBytes As Long, ByRef FreeUserBytes As Long)
VBnot supported - see GetDiskspaceF instead
C#.NETvoid object.GetDiskspace(string Volume, out long FreeBytes, out long TotalBytes, out long FreeUserBytes);
VC++HRESULT object->GetDiskspace(_bstr_t Volume, __int64* FreeBytes, __int64* TotalBytes, __int64* FreeUserBytes);
CHRESULT object->raw_GetDiskspace(BSTR Volume, __int64* FreeBytes, __int64* TotalBytes, __int64* FreeUserBytes);

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 GetDiskspace method determines disk space information for a disk volume.

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

See Also SftDirectory Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.