Share via


Implementing Persistent Storage on Flash Media

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

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:

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