CeDeleteDatabase (CEDB) (Windows CE 5.0)

Send Feedback

This function removes a database from the object store. This function is obsolete. Applications should call CeDeleteDatabaseEx (CEDB) instead.

This function does not work with EDB databases. For more information on EDB, see EDB Functions.

A RAPI version of this function exists named CeDeleteDatabaseEx (RAPI).

BOOLCeDeleteDatabase(CEOIDoidDbase); 

Parameters

  • oidDbase
    [in] Object identifier of the database to be deleted.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table lists possible values for GetLastError.

Value Description
ERROR_INVALID_PARAMETER Indicates that a parameter was invalid.
ERROR_SHARING_VIOLATION Indicates that another thread has an open handle to the database.

Remarks

The CeDeleteDatabase function deletes a database, including all records in the database.

Requirements

OS Versions: Windows CE 1.01 and later.
Header: Windbase.h.
Link Library: Coredll.lib.

See Also

CeDeleteDatabaseEx (CEDB) | CeCreateDatabaseEx (CEDB) | CeOidGetInfoEx (CEDB)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.