This function removes a database from the object store or a mounted database volume.
A RAPI version of this function exists named CeDeleteDatabaseEx (RAPI).
BOOL CeDeleteDatabaseEx( PCEGUID pguid, CEOID oid );
- [in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database volume or of the object store. Use CREATE_SYSTEMGUID to obtain the GUID of the object store.
- [in] Object identifier of the database to be deleted.
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table lists possible values for GetLastError.
|ERROR_INVALID_PARAMETER||Indicates that a parameter was invalid.|
|ERROR_SHARING_VIOLATION||Indicates that the file is in use.|
OS Versions: Windows CE 2.10 and later.
Link Library: Coredll.lib.
Last updated on Friday, April 09, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.