Windows Media Player 11 SDK WM/MediaClassPrimaryID AttributeĀ 

Windows Media Player SDK banner art

Previous Next

WM/MediaClassPrimaryID Attribute

The WM/MediaClassPrimaryID attribute is a GUID specifying one of the primary media classes: music, non-music audio, video, or other.

Remarks

This attribute is stored in both the library and the digital media file.

MediaClassPrimaryID is an alias for this attribute.

The Windows Media Format SDK constant for this attribute is g_wszWMMediaClassPrimaryID.

To determine whether you can change the value of this attribute, use the Media.isReadOnlyItem method.

Applies To

Requirements

Windows Media Player 9 Series or later. (The photo item is supported only in Windows Media Player 10 or later.)

See Also

Previous Next