FS_GetTotalSpaceΒΆ

FS_GetTotalSpace returns the total disk space.

nFree = FS_GetTotalSpace(ssFileSystem)

Return Value

nFree is the total disk space in Bytes.

Parameters

ssFileSystem

ssFileSystem is the drive name.

Example

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

id-140753