Share via


IMDSPStorage3::SetMetadata

banner art

The SetMetadata method provides the metadata associated with a specified content.

Syntax

HRESULT SetMetadata(IWMDMMetaData*pMetadata);

Parameters

pMetadata

[in]  Pointer to an IWMDMMetadata interface.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded, which indicates that SP has successfully processed the meta data.
WMDM_E_NOT_SUPPORTED The device does not support setting metadata.

Remarks

A service provider calls IWMDMMetaData::QueryByName or IWMDMMetaData::QueryByIndex to retrieve the metadata.

Requirements

Header: Defined in mswmdm.h.

Library: mssachlp.lib

See Also