FS_GetFreeSpaceΒΆ

FS_GetFreeSpace retrieves the free disk space of the specified drive.

nFree = FS_GetFreeSpace(ssFileSystem)

Return Value

nFree is the free disk space in Bytes.

Parameters

ssFileSystem

ssFileSystem is the drive name.

Example

* printf("%d\n", FS_GetFreeSpace("c:\\"));
201637888

id-1864254