RE: How to get SD card/IPSM name ??
- From: Rahul P. Shukla <RahulPShukla@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 3 Apr 2008 05:44:01 -0700
Hello Jochen ...
I checked the device registry as u told ..but registry setting are
unaffected whether SD card is inserted or not. So I wont be able to know if
card is inserted or IPSM is present.
Well .... my problem is still there .. :)
Thanks for ur reply ....
- rahul
"JochenD" wrote:
Hi Rahul,.
under Windows CE, normally the names of the SD Card / MMC card / USB
stick... folders are stored in the registry under the key:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\...]
eg:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Folder"="Storage Card SD"
...
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
"Folder"="Storage Card MMC"
...
It might be a possibility for you to retreive these names using the registry
API and then do a FindFirstFile() or something along these lines. For further
information about the registry key or the registry API you can consult the
Platform Builder help.
Best regards
-Jochen
"Rahul P. Shukla" 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 ???
Thanks a lot …
- Follow-Ups:
- RE: How to get SD card/IPSM name ??
- From: JochenD
- RE: How to get SD card/IPSM name ??
- References:
- How to get SD card/IPSM name ??
- From: Rahul P. Shukla
- RE: How to get SD card/IPSM name ??
- From: JochenD
- How to get SD card/IPSM name ??
- Prev by Date: RE: How to get SD card/IPSM name ??
- 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
|
|