Partager via


CeDeleteDatabaseEx (RAPI) (Windows CE 5.0)

Send Feedback

This function removes a database from the object store or a mounted database volume.

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

BOOL CeDeleteDatabaseEx( PCEGUID pguid,CEOID oid);

Parameters

  • pguid
    [in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database.
  • oid
    [in] Object identifier of the database to be deleted.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call CeGetLastError. Possible values for CeGetLastError include the following.

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

Requirements

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

See Also

RAPI Functions | CeCreateDataBaseEx | CREATE_SYSTEMGUID

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.