Share via


IMLCore::DeleteItems (Compact 7)

3/12/2014

This method deletes the media items that match the IMLQuery from the Media Library.

Syntax

HRESULT DeleteItems(
  IMLQuery *pQuery
);

Parameters

  • pQuery
    [in] Pointer to an IMLQuery object that selects the media items that will be deleted from the Media Library.

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