Adding a Database Volume on an External Device (Windows CE 5.0)
Windows CE supports volume-based databases that can exist on any mounted file system. Windows CE also provides functions that allow you to create a database volume on an external device, such as an Advanced Technology Attachment (ATA) flash card. All operations on database volumes are the same as the operations on object store databases except that the database is not in the object store.
**Note **An environment based on object store databases is available as optional functionality, which is called Fsdbase. Fsdbase supports database volumes on any mounted file system, including continued support for object store databases.
Database volumes contain data and an integrity log that tracks changes for the smallest operation. The following table shows the database functions that support these operations.
Database function | Description |
---|---|
CeMountDBVol | Mounts a database. |
CeCreateDatabaseEx2 | Creates a new database on a specified database volume. |
CeDeleteDatabaseEx | Removes a database from a database volume. |
CeOpenDatabaseEx2 | Opens a database on a mounted volume. |
CeFindFirstDatabaseEx | Opens an enumeration context for all databases in a database volume. |
CeFindNextDatabaseEx | Retrieves the next database in an enumeration context. |
CeReadRecordPropsEx | Reads properties from the current record. |
CeSetDatabaseInfoEx2 | Sets various database parameters, including the name, type, sort-order descriptions, and database compression. |
CeOidGetInfoEx2 | Retrieves information about an object in the object store or database volume. |
CeEnumDBVolumes | Enumerates all mounted database volumes and returns the name for each. |
**Note **Use the CeChangeDatabaseLCID (CEDB) function to change the locale that is used to sort database information.
See Also
Send Feedback on this topic to the authors