Hi,

I'm trying to make a private IFS in WinCE, and working with Platform
Builder in emulated environment with RamDisk.

I have successfully implemented a null file system and have verified
that the MyFSD.dll was loaded and unloaded.

But after that, I have tried to implement some of the functions that
FSD should provide for FSD Manager. Two of them, MyFSD_MountDisk() and
MyFSD_UnmountDisk were implemented and the .def file was properly
modified for FSDMGR to know that. (below)

EXPORTS
MyFSD_MountDisk
MyFSD_UnmountDisk
FSD_MountDisk=MyFSD_MountDisk
FSD_UnmountDisk=MyFSD_UnmountDisk
MyFSD_...
.......

After the implementation of the above, I was trying to see if the IFS
was properly mounted, but found that the function MyFSD_MountDisk() was
never called. DllMain() was called twice - DLL_PROCESS_ATTACH,
DLL_PROCESS_DETACH. It was unloaded just after it was loaded.

Does anyone can tell me any clue or suggestion? What should I do to
mount a null file system? Do I have to change more of registery
entries?


Thanks in advance.

Re: Install File System Development by Gopise

Gopise
Thu Jun 15 21:21:32 CDT 2006

What do you return in your DLL entry?
Have you added the registry? For example:
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\mydfs]
"Dll"="mydfs.dll"
"Paging"=dword:0

The following is a DEF file from my project, it can work perfectly on
WinCE4.2(5.0 not tested).
LIBRARY MYDFS
EXPORTS
FSD_MountDisk
FSD_UnmountDisk
FSD_Notify
FSD_DeviceIoControl
...

I don't know whether it will be of help.

"ChungShik" <angels72@gmail.com>
??????:1150368933.878239.36570@h76g2000cwa.googlegroups.com...
> Hi,
>
> I'm trying to make a private IFS in WinCE, and working with Platform
> Builder in emulated environment with RamDisk.
>
> I have successfully implemented a null file system and have verified
> that the MyFSD.dll was loaded and unloaded.
>
> But after that, I have tried to implement some of the functions that
> FSD should provide for FSD Manager. Two of them, MyFSD_MountDisk() and
> MyFSD_UnmountDisk were implemented and the .def file was properly
> modified for FSDMGR to know that. (below)
>
> EXPORTS
> MyFSD_MountDisk
> MyFSD_UnmountDisk
> FSD_MountDisk=MyFSD_MountDisk
> FSD_UnmountDisk=MyFSD_UnmountDisk
> MyFSD_...
> .......
>
> After the implementation of the above, I was trying to see if the IFS
> was properly mounted, but found that the function MyFSD_MountDisk() was
> never called. DllMain() was called twice - DLL_PROCESS_ATTACH,
> DLL_PROCESS_DETACH. It was unloaded just after it was loaded.
>
> Does anyone can tell me any clue or suggestion? What should I do to
> mount a null file system? Do I have to change more of registery
> entries?
>
>
> Thanks in advance.
>



Re: Install File System Development by C

C
Sat Jun 17 22:07:42 CDT 2006


I have solved the problem. I thought I added the registry entries
correctly, but
found that it was wrong. The name of the dll has some upper and lower
alphabets mixed,
but I used lower-case only on the key and upper/lower mixed one on the
value.

Anyway, thanks Gopise,


Gopise =EC=9E=91=EC=84=B1:

> What do you return in your DLL entry?
> Have you added the registry? For example:
> [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\mydfs]
> "Dll"=3D"mydfs.dll"
> "Paging"=3Ddword:0
>
> The following is a DEF file from my project, it can work perfectly on
> WinCE4.2(5.0 not tested).
> LIBRARY MYDFS
> EXPORTS
> FSD_MountDisk
> FSD_UnmountDisk
> FSD_Notify
> FSD_DeviceIoControl
> ...
>
> I don't know whether it will be of help.
>
> "ChungShik" <angels72@gmail.com>
> ??????:1150368933.878239.36570@h76g2000cwa.googlegroups.com...
> > Hi,
> >
> > I'm trying to make a private IFS in WinCE, and working with Platform
> > Builder in emulated environment with RamDisk.
> >
> > I have successfully implemented a null file system and have verified
> > that the MyFSD.dll was loaded and unloaded.
> >
> > But after that, I have tried to implement some of the functions that
> > FSD should provide for FSD Manager. Two of them, MyFSD_MountDisk() and
> > MyFSD_UnmountDisk were implemented and the .def file was properly
> > modified for FSDMGR to know that. (below)
> >
> > EXPORTS
> > MyFSD_MountDisk
> > MyFSD_UnmountDisk
> > FSD_MountDisk=3DMyFSD_MountDisk
> > FSD_UnmountDisk=3DMyFSD_UnmountDisk
> > MyFSD_...
> > .......
> >
> > After the implementation of the above, I was trying to see if the IFS
> > was properly mounted, but found that the function MyFSD_MountDisk() was
> > never called. DllMain() was called twice - DLL_PROCESS_ATTACH,
> > DLL_PROCESS_DETACH. It was unloaded just after it was loaded.
> >
> > Does anyone can tell me any clue or suggestion? What should I do to
> > mount a null file system? Do I have to change more of registery
> > entries?
> >
> >
> > Thanks in advance.
> >