Hi,
GetDiskFreeSpaceEx used on a storage card (mapped on a real hard drive) can't return more than 4 Gb. I think somewhere in an emulator it is trimmed down to 32 bit although GetDiskFreeSpaceEx on wce uses 64 bits integers.
Best Regards,
Dmitry Yakimov

Device emulator bug found
thinhbui
Yes, the DeviceEmulator is limiting the values returned from GetDiskFreeSpaceEx to 4gb for the shared folder. I'm not sure why - it looks like the folder sharing filesystem driver can cope with terabyte drives OK. I'll file a bug on this.
Barry