IMDSPStorage3::SetMetadata method (mswmdm.h)
The SetMetadata method provides the metadata associated with a specified content.
Syntax
HRESULT SetMetadata(
[in] IWMDMMetaData *pMetadata
);
Parameters
[in] pMetadata
Pointer to an IWMDMMetadata interface.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded, which indicates that SP has successfully processed the metadata. |
|
The device does not support setting metadata. |
Remarks
A service provider calls IWMDMMetaData::QueryByName or IWMDMMetaData::QueryByIndex to retrieve the metadata.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |