RE: How to get SD card/IPSM name ??



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 …

.



Relevant Pages

  • Re: How to get SD card/IPSM name ??
    ... I have to perform some operations over IPSM of teh device ... ... with the help of this registry I could know about the name of SD card. ... I am having some 3-4 types of devices and getting the common registry as ... this registry key is just a way of finding out what the name ...
    (microsoft.public.windowsce.embedded)
  • Re: re-installing Delphi Application
    ... Do you know if the RegSvr32 modifies the registry? ... >If the JumpDrive is what I think it is, and is run through the USB, ... That took them a while since the card wasn't recognized ... I'll have my customer contact the hardware ...
    (comp.lang.pascal.delphi.misc)
  • Re: Mount CF card using ATAPI
    ... IDE channell you should use: ... I have to mount the CF card during the first phase of boot. ... registry that is generated on the CF card. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: How to get SD card/IPSM name ??
    ... with the help of this registry I could know about the name of SD card. ... I am having some 3-4 types of devices and getting the common registry as ... card is inserted or IPSM is present. ... API and then do a FindFirstFileor something along these lines. ...
    (microsoft.public.windowsce.embedded)
  • Re: How to get SD card/IPSM name ??
    ... search in the registry for references to psmfsd.dll to decide yes/no on PSM ... I have to perform some operations over IPSM of teh device ... ... with the help of this registry I could know about the name of SD card. ... this registry key is just a way of finding out what the ...
    (microsoft.public.windowsce.embedded)