GetDiskFreeSpaceEx in winCE 5.0 emulator?

Posted by vidhyarthi on Stack Overflow See other posts from Stack Overflow or by vidhyarthi
Published on 2010-05-12T13:11:30Z Indexed on 2010/05/12 13:14 UTC
Read the original article Hit count: 194

Filed under:
|

Hi, I am trying to use GetDiskFreeSpaceEx in wince5.0 emulator. This is the following code I have written.

ULARGE_INTEGER notused, totalBytes, freeBytes;


GetDiskFreeSpaceEx(_T("\\Windows"),&notused,&totalBytes,&freeBytes);
printf(" Error in disk %d ", GetLastError());

printf(" values = notused %d,totalBytes %d,freeBytes %d",notused,totalBytes,freeBytes);

*Output *

14540 PID:3db620e TID:3e5c83e Error in disk 0

14540 PID:3db620e TID:3e5c83e values = notused 25987296,totalBytes 0,freeBytes 26234880

The total bytes that I get is zero. Am I missing something or in emulator is that OK?

© Stack Overflow or respective owner

Related posts about wince

Related posts about emulator