您的位置:首页 > 移动开发

wince文件系统函数的调用过程

2010-04-12 21:16 405 查看
wince文件系统函数的调用过程
 
查了一下MSDN,在页面:http://msdn.microsoft.com/en-us/library/ee489755.aspx有如下内容:
 
Applications that access an installable file system use standard Win32 functions. For example, when an application creates a folder on a device that
 
contains an installable file system, it calls the CreateDirectory function. FSDMGR recognizes that the path is to a device containing an installable
 
file system and calls the appropriate function, which in the case of the MyFSD file system is MyFSD_CreateDirectoryW. That is, the application calls
 
CreateDirectory, causing FSDMGR to call MyFSD_CreateDirectoryW.
 
可见调用过程可以分为一下几步:
1、应用程序调用wince文件系统接口。
2、文件系统中的FSDMGR根据操作路径的根目录,判断需要使用哪个文件系统驱动。
3、找到相应的文件系统驱动后,调用文件系统驱动中对应的函数。
4、接下来,具体进行了什么操作,就要看FSD的实现了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息