Getting Disc Free Space on Windows 95 - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The GetDiskFreeSpace function returns incorrect values for volumes that are larger than 2 gigabytes. The function caps the values stored into *lpNumberOfFreeClusters and *lpTotalNumberOfClusters so as to never report volume sizes that are greater than 2 gigabytes. Even on volumes that are smaller than 2 gigabytes, the values stored into *lpSectorsPerCluster, *lpNumberOfFreeClusters, and *lpTotalNumberOfClusters values may be incorrect. That is because the operating system manipulates the values so that computations with them yield the correct volume size.
GetDiskFreeSpace 函数在遇到大于2G的分区时,会返回不正确的值。这个函数取得存储在 *lpNumberOfFreeClusters 和*lpTotalNumberOfClusters中的值,所以不能报告大于2G的分区的值。即使分区小于2G,存储在*lpSectorsPerCluster, *lpNumberOfFreeClusters, 和*lpTotalNumberOfClusters中的值也可能不正确。这是因为操作系统处理这些值,以便用它们计算出正确的值。
来源: http://www.codeguru.com/system/GetFreeDiskSpace.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
mounter |
 1.0  |
2004-03-24 |
下载 |
|
|