CeDeleteDatabaseEx

This function removes a database from the object store or a mounted database volume. A remote application interface (RAPI) version of this function exists, and it is also named CeDeleteDatabaseEx.

At a Glance

Header file: Windbase.h
Windows CE versions: 2.10 and later

Syntax

BOOL CeDeleteDatabaseEx( PCEGUID pceguid, CEOID oidDbase );

Parameters

pceguid

[in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database.

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. Possible values for GetLastError include the following:

Value Description
ERROR_INVALID_PARAMETER A parameter was invalid.
ERROR_SHARING_VIOLATION The file is in use.

See Also

CREATE_SYSTEMGUID, CeCreateDataBaseEx