SECFileSystem::GetFreeSpace

LONGSECFileSystem::GetFreeSpace(const CString&FileSystem)

Returns the number of available bytes on the specified filesystem.

Defined in: filesys.cpp

Return Value

The number of free bytes on the specified filesystem. For use with file systems under 2GB. This method is provided for backward compatability. See GetFreeSpaceEx for its replacement.

Parameters

FileSystem

The name of the filesystem.

Comments

To get the number of free bytes on a filesystem.

Example

LONG lSize = fs.GetFreeSpace("c:\\");

See Also

SECFileSystem  GetTotalSpace