baash05
baash05

Reputation: 4516

How can I find the memory available on an SD card on a wince device (C++)

I'm looking for a way (on a pocketPC) to interrogate the size/remaining size of an SD card.

I have to create some files on the SD card and I want to make sure there's enough room before I write to it.

Upvotes: 2

Views: 434

Answers (1)

mrjoltcola
mrjoltcola

Reputation: 20852

Look at GetDiskFreeSpaceEx() : http://msdn.microsoft.com/en-us/library/aa912270.aspx

Upvotes: 2

Related Questions