1
我试图在wince5.0模拟器中使用GetDiskFreeSpaceEx。这是我写的以下代码。WinCE 5.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值= NOTUSED 25987296,totalBytes 0,freeBytes 26234880
我得到的总字节数为零。我错过了什么或在模拟器中可以吗?