How can I find the memory available on an SD card on a wince device (C++)
-
23-09-2019 - |
Question
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.
Solution
Look at GetDiskFreeSpaceEx() : http://msdn.microsoft.com/en-us/library/aa912270.aspx
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow