Re: How to get SD card/IPSM name ??
- From: BobZ <r_z_aret@xxxxxxxxxxxx>
- Date: Thu, 03 Apr 2008 18:00:37 -0400
On Thu, 3 Apr 2008 03:31:00 -0700, Rahul P. Shukla
<RahulPShukla@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
In my application I have to detect programmatically SD card (if inserted)
and IPSM (if available in the device). I am using FindFirstStore,
GetStoreInfo, FindNextStore APIs but not getting the names of SD card and
IPSM.
Is there any other way to detect and get the name of inserted SD card and
IPSM ???
I use FindFirstFile and relatives to look for the name of the root
folder, but that can vary. So I check for names that begin with
"IPSM", "Storage_", "Storage", "CF Card", "SD Card", and "Memory
Card". I don't check the whole string because the name can accumulate
a number (e.g., CF Card 2) if one card replaces another, or even if
one card is removed and reinserted.
For at least some, newer, platforms, FindFirstFlashCard will find
storage cards, but I don't use it. And I wonder whether it will find
IPSM.
Thanks a lot ?
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: How to get SD card/IPSM name ??
- From: Rahul P. Shukla
- Re: How to get SD card/IPSM name ??
- References:
- How to get SD card/IPSM name ??
- From: Rahul P. Shukla
- How to get SD card/IPSM name ??
- Prev by Date: Re: PPP with "IP compression" issue?
- Next by Date: Re: How to get SD card/IPSM name ??
- Previous by thread: Re: How to get SD card/IPSM name ??
- Next by thread: Re: How to get SD card/IPSM name ??
- Index(es):
Relevant Pages
|
|