[missing-sync-ppc-dev-talk] Determining available space on the disk (CeGetStoreInformation?)

Craig Stanton craigstanton at mac.com
Wed Aug 31 21:29:11 PDT 2005


Hello all,
	I'm trying to programatically find out the disk size and available 
space on a PocketPC, but the response I am getting from 
CeGetStoreInformation doesn't make sense. The structure that is 
populated by running it through CeGetStoreInformation claims the 
internal disk is about 31.2MB, and this is echoed in the OS X Finder 
when I get MissingSync to mount the device as a volume. The structure 
also says that the available space  is a little less than that (261,008 
bytes less to be exact) but the Finder claims there is 2.47GB 
available, which is much more likely though I don't have the exact 
figures to know if that is exactly correct. So my questions are these

	Does anyone have experience with determining the size/available space 
on a PocketPC, how did you do it?
	How do Mark/Space get the info to report to the finder?
	How would I convert this to also find out the size/space of a 
removable card that is inserted into the PocketPC?


Cheers,
	Craig



More information about the missing-sync-ppc-dev-talk mailing list