mediaFoundationMediaTypeGetAttribute

Typefunction
DictionaryLCS
Librarymediafoundation
Syntax
mediaFoundationMediaTypeGetAttribute(<pMediaTypeID>, <pAttribute>)
Associationsmediafoundation
Summary

Get an attribute of a media type Platform:desktop

OSwindows
Parameters
NameTypeDescription
pMediaTypeID

A media type ID

pAttribute

The name of the attribute

RelatedCommand: mediaFoundationTranscode, mediaFoundationCreateMediaType
Description

The media must already be created with mediaFoundationCreateMediaType or via another API that returns a media type ID. See the attribute description in the mediaFoundationMediaTypeSetAttribute API document.

Note:See the mediaFoundationTranscode documentation for a complete example of using this handler.