views:

37

answers:

2

I have seen in many programs such as FreeOTFE that they can emulate a storage card in WinMo. It will be shown in Windows Mobile just as a storage card is inserted and i can interact with it just like a SD Card.

How do i implement that? Any tips/tricks/guides/samples?

I am using WinMo 6 Professional with Dot Net Framework :) I know i have to use C++ with some Native APIs :) But i need to know which ones :(

Thanx a lot in advance :)

+1  A: 

You cannot do that by means of simple application level APIs. The example you mention, FreeOTFE, installs a custom storage device driver that is identified by the file system manager in the OS as FILE_ATTRIBUTE_TEMPORARY, which together with the FILE_ATTRIBUTE_DIRECTORY means "storage card" / "removable media".

Johann Gerell
Yes i know it cannot be done with application level APIs and i know that i do need Native APIs. :)So my problem is how do i create this storage device driver? :SI tried contacting Sarah Dean who is the creator of FreeOTFE, but no luck :S
Ranhiru Cooray
You can download all the source code. I'm looking at it right now.
Johann Gerell
@Ranhiru: Look at the FSD (File System Driver) Reference: http://msdn.microsoft.com/en-us/library/aa912259.aspx
Johann Gerell
A: 

Windows Mobile doesn't have "kernel mode" and no "native API". File System drivers are regular DLLs. We created such driver for our Solid File System project. If you are interested in getting help, please contact me privately.

Eugene Mayevski 'EldoS Corp