Share via


WM/MediaClassPrimaryID (Compact 2013)

3/26/2014

This attribute contains the GUID of the primary media class.

Global Constant

g_wszWMMediaClassPrimaryID

Data Type

WMT_TYPE_GUID

Remarks

This attribute should be set to one of the values in the following table.

Primary class GUID

Description

"D1607DBC-E323-4BE2-86A1-48A42A28441E"

Use for music files. Do not use for audio that is not music.

"DB9830BD-3AB3-4FAB-8A37-1A995F7FF74B"

Use for video files.

"01CD0F29-DA4E-4157-897B-6275D50C4F11"

Use for audio files that are not music.

"FCF24A76-9A57-4036-990D-E35DD8B244E1"

Use for files that are neither audio or video.

When you specify a primary class identifier, you should also set a secondary class identifier to clarify the kind of content in the file.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Attribute List
WM/MediaClassSecondaryID