GetDiskFreeSpace获取与一个磁盘的组织有关的信息,以及了解剩余空间的容量。DeclareFunctionGetDiskFreeSpaceLib"kernel32"Alias"GetDiskFreeSpaceA"(ByVallpRootPathNameAsString,lpSectorsPerClusterAsLong,lpBytesPerSectorAsLong,lpNumberOfFreeClustersAsLong,lpTtoalNumberOfClustersAsLong)AsLong