CeDeleteDatabase (CEDB) (Windows Embedded CE 6.0)

1/6/2010

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

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

Syntax

BOOL CeDeleteDatabase(
  CEOID oidDbase
); 

Parameters

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

Return Value

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

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

This function deletes a database, including all records in the database.

Requirements

Header windbase.h
Library coredll.lib
Windows Embedded CE Windows CE 1.01 and later

See Also

Reference

CEDB Functions
CeDeleteDatabaseEx (CEDB)
CeCreateDatabaseEx (CEDB)
CeOidGetInfoEx (CEDB)