wince6.0 在flash上实现永久存储

来源:互联网 发布:黑白网络怎么关 编辑:程序博客网 时间:2024/05/16 06:59

Implementing Persistent Storage on Flash Media (Windows Embedded CE 6.0)

This topic has not yet been rated- Rate this topic
1/6/2010

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 theSHGetSpecialFolder 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 theSHGetSpecialFolder function.

原创粉丝点击