Rediger

Del via


Attributes (Windows Media Format 11 SDK)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

An attribute is an individual item of metadata. Most of the attributes can be set by your application and are written to the header of an ASF file.

Some of the predefined attributes are coded attributes. These attributes are not stored in the header of an ASF file, but are computed by the objects of the Windows Media Format SDK when the file is loaded. Because coded attributes are always computed, they are inherently read-only.

This SDK includes many attribute definitions that you can use. You can also create attributes of your own to describe content.

The following sections describe the predefined attributes.

Section Description
Attribute List Provides an alphabetical list of all of the predefined attributes. After the list, each attribute is described individually.
Attributes with Multiple Values Lists the attributes that can be added to a file more than once.
Attributes By Type Contains lists of attributes sorted by type. These include lists of special-purpose attributes (like those dealing with digital rights management) and lists of suggested attributes by content type.
ID3 Tag Support Lists the attributes that are compatible with ID3 tags.

 

IWMHeaderInfo::GetAttributeByIndex

IWMHeaderInfo::GetAttributeByName

IWMHeaderInfo::SetAttribute

Working with Metadata