Share via


IMLCore::PurgeDatabase (Compact 7)

3/12/2014

This method permanently removes media items that are no longer valid on the plug-in data source from the Media Library database.

Syntax

HRESULT PurgeDatabase(
  BSTR destination
);

Return Values

Returns the HRESULT values shown in the following table.

Return code Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

A pointer parameter is invalid.

E_FAIL

The method was not successful.

E_OUTOFMEMORY

An out of memory error occurred.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLCore