Solved

Testing flash/drive on Windows ce, windows mobile device

Posted on 2010-11-11
3
429 Views
Last Modified: 2013-12-27
I want to test the flash on a windows ce device. I want to do writes and reads from the flash over extended period of times. My question is with a limited about of space, say 512mb on the flash if I wanted to limited the size of the file that will be created for the testing, that is created dynamically by this test routine would I possible grab the size of the current flash and limit the file size to some fraction of the current free space? Also does GlobalMemoryStatus return anything related to the amount of free flash space as in something like DiskFreeSpaceEx?

Thanks
0
Comment
Question by:atomicgs12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
alexey_gusev earned 500 total points
ID: 34118331
use FindFirstFlashCard() etc functions to determine what cards you have and their basic info.

http://msdn.microsoft.com/en-us/library/ms840697.aspx

and then maybe GetDiskFreeSpace() or GetDiskFreeSpaceEx():

http://msdn.microsoft.com/en-us/library/ms960687.aspx
0
 

Author Comment

by:atomicgs12
ID: 34121978
So when referring to the flash drive does GetDiskFreeSpaceEx have any relationship to information returned by GlobalMemoryStatus? I mean should I check both before allowing x file size to be created, where x will also be dynamic memory that has to be created to write to the file.
Thanks
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 34122043
as far I as understand it, GlobalMemoryStatus() returns you MEMORYSTATUS, which is nothing to do with flash card
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question