Implementing Persistent Storage on Flash Media (Windows Embedded CE 6.0)
You can implement persistent storage for user data on a Windows Embedded CE-based device. The following list shows the requirements for implementing persistent storage:
- A flash media system driver with load leveling.
For more information, see Flash Drivers.
- Appropriate settings for designated registry keys.
For more information see Storage Manager Registry Settings and Registry Settings for Flash Media Drivers (FMD).
- The file system mounted as the root directory.
- File replication filter configured for persistent storage.
For more information, see File Replication for Persistent Storage.
Because persistent storage may change the location of the root directory to a mounted file system, persistent data storage applications should always query for the volume name or path. Applications must use the SHGetSpecialFolder function to find the OEM-specified location of system folders such as My Documents. Applications that use a hard-coded value do not work on devices in which system folders such as My Documents have been moved.
Applications must make no assumptions about the volume name or path. Replace any hard-coded references to system folders with the value returned by the SHGetSpecialFolder function.

本文介绍如何在Windows Embedded CE设备上实现用户数据的持久化存储。需要具备带有负载均衡功能的闪存驱动程序,正确配置注册表键值,并设置根目录文件系统及复制过滤器。应用程序应使用SHGetSpecialFolder函数定位系统文件夹如MyDocuments的位置。

3736

被折叠的 条评论
为什么被折叠?



