【发布时间】:2010-05-12 13:11:30
【问题描述】:
我正在尝试在 wince5.0 模拟器中使用 GetDiskFreeSpaceEx。这是我编写的以下代码。
ULARGE_INTEGER notused, totalBytes, freeBytes;
GetDiskFreeSpaceEx(_T("\\Windows"),¬used,&totalBytes,&freeBytes);
printf(" Error in disk %d ", GetLastError());
printf(" values = notused %d,totalBytes %d,freeBytes %d",notused,totalBytes,freeBytes);
**输出**
14540 PID:3db620e TID:3e5c83e 磁盘 0 错误
14540 PID:3db620e TID:3e5c83e 值 = 未使用 25987296,totalBytes 0,freeBytes 26234880
我得到的总字节数为零。我错过了什么还是在模拟器中可以吗?
【问题讨论】:
标签: windows-ce emulation