Solved

Testing flash/drive on Windows ce, windows mobile device

Posted on 2010-11-11
3
428 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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