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
我得到的總字節數爲零。我錯過了什麼或在模擬器中可以嗎?