联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Getting Disc Free Space on Windows 95 - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    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 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/system/mounter_demo.zip

      » 合 作 伙 伴