次の方法で共有


CeDeleteDatabaseEx (CEDB) (Compact 2013)

3/26/2014

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

Syntax

BOOL CeDeleteDatabaseEx( 
  PCEGUID pguid, 
  CEOID oid 
);

Parameters

  • pguid
    [in] Pointer to the CEGUID that contains the globally unique identifier of a mounted database volume or of the object store. Use the CREATE_SYSTEMGUID function to obtain the GUID of the object store.
  • oid
    [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 the file is in use.

Requirements

Header

windbase.h

Library

coredll.lib

See Also

Reference

CEDB Functions
CeCreateDatabaseEx (CEDB)
CREATE_SYSTEMGUID