Discussion:
Storage Folder not coming in WinCE 6.0 fro RAMDISK
(too old to reply)
Talib
2007-08-12 07:08:02 UTC
Permalink
I have complied the RAMDISK driver in PB 6.0 and trying to run it in PB 6.0
in ARM Emulator.

The driver is loading but Storage Folder is not coming in the root or
Storage Manager.

Registery settings that I am using are:

[HKEY_LOCAL_MACHINE\Drivers\Builtin\RamDisk]
"Profile"="RamDisk"
"IClass"="{A4E7EDDA-E575-4252-9D68-4195D48BB865}"
"Ioctl"=dword:4
"Order"=dword:40
"FriendlyName"="Windows CE Ramdisk Driver"
"Dll"="RAMDISK.dll"
"Prefix"="DSK"
"FSD"="exfat.dll"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RamDisk]
"MountFlags"=dword:0
"AutoFormat"=dword:1
"AutoPart"=dword:1
"AutoMount"=dword:1
"Folder"="StorageCardTemp"
"Name"="RAM Disk Block Device"
"PartitionDriver"="mspart.dll"
"DefaultFileSystem"="EXFAT"

As the FAT has been changed to EXFAT in WinCE 6.0. Is there any additional
registry settings required above. What are correct registries in WinE 6.0 fro
a block driver? I have taken these registries from my working block driver in
wince 5.0.

How can I know what WinCE 6.0 expects from my block driver/my driver profile
registry to make my diver properly running and showing Storage Folder. It is
not clear from WinCE docs.
Erwin Zwart
2007-08-13 11:09:59 UTC
Permalink
What does de debug output say?

I think you also need the partion driver component (SYSGEN_MSPART) and i use
FAT file system.

Hope this helps,

Erwin Zwart
Post by Talib
I have complied the RAMDISK driver in PB 6.0 and trying to run it in PB 6.0
in ARM Emulator.
The driver is loading but Storage Folder is not coming in the root or
Storage Manager.
[HKEY_LOCAL_MACHINE\Drivers\Builtin\RamDisk]
"Profile"="RamDisk"
"IClass"="{A4E7EDDA-E575-4252-9D68-4195D48BB865}"
"Ioctl"=dword:4
"Order"=dword:40
"FriendlyName"="Windows CE Ramdisk Driver"
"Dll"="RAMDISK.dll"
"Prefix"="DSK"
"FSD"="exfat.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RamDisk]
"MountFlags"=dword:0
"AutoFormat"=dword:1
"AutoPart"=dword:1
"AutoMount"=dword:1
"Folder"="StorageCardTemp"
"Name"="RAM Disk Block Device"
"PartitionDriver"="mspart.dll"
"DefaultFileSystem"="EXFAT"
As the FAT has been changed to EXFAT in WinCE 6.0. Is there any additional
registry settings required above. What are correct registries in WinE 6.0 fro
a block driver? I have taken these registries from my working block driver in
wince 5.0.
How can I know what WinCE 6.0 expects from my block driver/my driver profile
registry to make my diver properly running and showing Storage Folder. It is
not clear from WinCE docs.
Talib
2007-08-14 06:04:00 UTC
Permalink
ur suggestions are most welcome. Thanks.

I have already added exFAT and Partition driver catalog in wince 6.0.

My driver has registry in HKLM\Drivers\Built so it loads properly. Means
XXX_Init is called. XXX_Open is called. Also IOCTL (4) is called. But nothing
happend after that.
And simply XXX_Close is called.

Loading...