Share via


IMLCore::UpdateItems (Compact 7)

3/12/2014

This method updates items in the Media Library that match the IMLQuery with the properties specified in the IMLPropertySet.

Syntax

HRESULT UpdateItems(
  IMLQuery *pQuery,
  IMLPropertySet *pPropertySet
);

Parameters

  • pQuery
    [in] Pointer to the IMLQuery object that selects the media items to be updated in the Media Library.
  • pPropertySet
    [in] Pointer to the IMLPropertySet object that contains the metadata to update properties in 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