Partager via


File Systems and Data Store Application Development (Windows CE 5.0)

Send Feedback

The file system and data store provides persistent storage for applications and their related data even when the main power supply is lost, provided there is a backup power supply. One or more memory storage chips, which typically are nonvolatile RAM chips, compose the physical object store. The following table shows the APIs available for file systems and data store application development.

API Description
Database Reference Databases store, access, and sort property-set records. The Windows CE database model is a small, flat structure, optimized for small, efficient storage. As such, the database API does not correspond to the Win32 database API. Data operations are transactioned, which protects against data loss. If a Windows CE–based device loses power, for example, during a reset, suspend or resume where the RAM is refreshed, during a data transaction, the operating system (OS) reverts all partial database operations to the last known good state.
File I/O Reference Files are stored on storage media and can be organized into groups called directories. The file I/O functions enable applications to create, open, modify, and delete files. They also enable applications to obtain system information, such as what media is present.
File Mapping Reference File mapping is the association of a file's contents with a portion of the virtual address space of a process. The OS creates a file-mapping object to maintain this association. A file view is the portion of virtual address space that the process uses to access the file's contents. Processes read from and write to the file view using pointers, just as they would with dynamically allocated memory.

The file-mapping functions allow a process to create file-mapping objects and file views to easily access and share data.

File System Password Reference The file system password API can be used to set or retrieve the current password and its associated state.
FSD Reference A file system driver (FSD) is a dynamic-link library (DLL) that exports file system entry points that map to standard OS file system functions. When an application calls a file system function, and the function references a file on a volume registered by the FSD, FSD Manager maps the call to the FSD.
Registry Reference The Windows CE registry stores data about applications, drivers, user preferences, and other configuration settings. For example, the default preferences of a user for Internet Explorer are stored in the registry.
Storage Manager Reference The Storage Manager is responsible for all file data and volume manipulation and acts as a central location for all I/O to the disk or other permanent storage medium.

See Also

File Systems and Data Store

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.