Deleting Database Information (Windows CE 5.0)

Send Feedback

Windows CE can delete properties, records, or entire databases, as follows:

To delete a property

  • Call the CeWriteRecordProps function with the CEDB_PROPDELETE flag set in the wFlags parameter and a CEPROPVAL structure that describes the property to delete in the rgPropVal parameter.

    You can delete a property by calling CeWriteRecordProps in any volume.

    Note   A record that has been deleted and then restored receives a new Windows CE object identifier.

To delete a single record in a database

  • Call the CeDeleteRecord function. Like the CeWriteRecordProps function, CeDeleteRecord works on any record, regardless of the location of the record.

To delete a database in a volume

  • Call the CeDeleteDatabaseEx function. Ensure that the database is not open before you attempt to delete the database.

See Also

Databases

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.