Hello All,
NewBie to FSD implementation here. I hope you'll would be kind enough to
offer some insight.
I am in the process of porting a file system from Windows Desktop to Windows
CE.
I have created a skeletal dll called PDCFS.dll which is my FSD.
From now on I want that when I save a file I want CE to use my new System.
So I am trying to associate my FSD with a hardware device.
Here is what I did in the registry
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\PDCFS]
"Dll"="PDCFS.dll"
"Folder"="Storage Card USB"
; END HIVE BOOT SECTION
Also the following registrry key is set to PDCFS.dll
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBHDProfile]
DefaultFileSystem = PDCFS.dll
My question is, Is this sufficient to cause my file system to be loaded
everytime I try to save a file to the device or do I need more registry
settings ?
One way to test of course would be to create a test program which saves a
file to the \\Storage Card USB\\filename.txt path and to see if the file is
being saved through my new FSD.
Is there any other way to know for sure ?
My FSD is not fully implemented and cuurently hangs when I try to save a
file.
Is there any way I can know for sure without implementing the MountDisk ,
UnMoutnDisk ReadFile WriteFile etc.
Also any samples on MountDisk , unMountDisk , WriteFile, ReadFile would be
appreciated.
Thanks in advance,
SieWin.