Share via


Deleting Database Information (Windows Embedded CE 6.0)

1/6/2010

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

To delete a property

  • Call the CeWriteRecordProps (CEDB) function with the CEDB_PROPDELETE flag set in the wFlags parameter and a CEPROPVAL (CEDB) 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 Embedded CE object identifier.

To delete a single record in a database

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

To delete a database

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

See Also

Concepts

CEDB Database Support