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"),¬used,&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?