Implementing Persistent Storage on Flash Media
Other versions of this page are also available for the following:
8/28/2008
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.
See Also
Concepts
File System Operations
Storage Manager Registry Settings
File Replication for Persistent Storage