FSD - implementation of MountDisk and UnmountDisk

K

Krupa

Hi,

I am trying to create my own FSD for a Windows CE 5.0 device. I want
to mainly mount/unmount the storage card programmatically.

The .def file looks like:

LIBRARY MyFSD
DESCRIPTION 'My File System for Windows CE'

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MyFSD]
"Dll"="MyFSD.dll"
"Paging"=dword:0

EXPORTS
MyFSD_MountDisk
MyFSD_UnmountDisk
FSD_MountDisk=MyFSD_MountDisk
FSD_UnmountDisk=MyFSD_UnmountDisk
MyFSD_CreateDirectoryW
MyFSD_RemoveDirectoryW...

I added MyFSD.h files contains the following lines of code:

#define FSDAPI MyFSD
#include "fsdmgr.h"

I am not sure how to implement the MyFSD_MountDisk and
MyFSD_UnmountDisk functions. I googled and found a few windows ce base
team blogs that discussed this, but I couldn't gather much from there
(may be because I am new to this). Can someone please guide me?

Thanks,
Krupa
I
 
P

Peter Foot [MVP]

Try posting your query to one of the microsoft.public.windowsce.* groups.
File System Drivers are not a Compact Framework topic.

Peter
 
P

Paul G. Tobey [eMVP]

microsoft.public.windowsce.platbuilder is the right place...

Paul T.

Peter Foot said:
Try posting your query to one of the microsoft.public.windowsce.* groups.
File System Drivers are not a Compact Framework topic.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

Krupa said:
Hi,

I am trying to create my own FSD for a Windows CE 5.0 device. I want
to mainly mount/unmount the storage card programmatically.

The .def file looks like:

LIBRARY MyFSD
DESCRIPTION 'My File System for Windows CE'

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MyFSD]
"Dll"="MyFSD.dll"
"Paging"=dword:0

EXPORTS
MyFSD_MountDisk
MyFSD_UnmountDisk
FSD_MountDisk=MyFSD_MountDisk
FSD_UnmountDisk=MyFSD_UnmountDisk
MyFSD_CreateDirectoryW
MyFSD_RemoveDirectoryW...

I added MyFSD.h files contains the following lines of code:

#define FSDAPI MyFSD
#include "fsdmgr.h"

I am not sure how to implement the MyFSD_MountDisk and
MyFSD_UnmountDisk functions. I googled and found a few windows ce base
team blogs that discussed this, but I couldn't gather much from there
(may be because I am new to this). Can someone please guide me?

Thanks,
Krupa
I
 
Top