or download this
BOOL GetDiskFreeSpaceEx(
LPCTSTR lpDirectoryName, // pointer to the directory name
...
PULARGE_INTEGER lpTotalNumberOfBytes, // receives the number of b
+ytes on disk
PULARGE_INTEGER lpTotalNumberOfFreeBytes // receives the free bytes
+on disk
);