开发者

How do I emulate a storage card in Windows Mobile 6?

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 ins开发者_如何转开发erted 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 :)


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".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜