Compartilhar via


CeDeleteDatabase (RAPI) (Windows CE 5.0)

Send Feedback

This function removes a database from the object store.

CeCreateDatabase (RAPI) is a remote application interface, which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

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 within a RAPI program, call CeGetLastError. Possible values for CeGetLastError include the following.

Value Description
ERROR_INVALID_PARAMETER A parameter was invalid.
ERROR_SHARING_VIOLATION Another thread has an open handle to the database.

Remarks

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

Requirements

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

See Also

RAPI Functions | CeCreateDatabase (RAPI) | CeGetLastError | CeOidGetInfo (RAPI)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.