Share via


IMLStoreMetadata::StoreMetadata (Compact 7)

3/12/2014

This method is implemented by an application to process the callback from the IMLCore::QueryLocation method.

Syntax

HRESULT StoreMetadata(
  MLDSItem *pFile,   
  ULONG entityId,
  IMLPropertySet *pPropertySet)
);

Parameters

  • pFile
    [in] Pointer to the MLDSItem that references the media item that the media parser adds to the Media Library.
  • entityId
    [in] Type of media item that the media parser adds to the Media Library.
  • pPropertySet
    [in] Pointer to the IMLPropertySet object that contains the media item metadata that the media parser updates.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_POINTER

The pfile and pPropertySet parameters are invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Remarks

The IMLPropertySet passed in this method can be used to retrieve the properties of the media item.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLStoreMetadata