Expand Minimize

IMFMediaType interface

Represents a description of a media format.

Members

The IMFMediaType interface inherits from IMFAttributes. IMFMediaType also has these types of members:

Methods

The IMFMediaType interface has these methods.

MethodDescription
FreeRepresentation

Frees memory that was allocated by the GetRepresentation method.

GetMajorType

Retrieves the major type of the format.

GetRepresentation

Retrieves an alternative representation of the media type.

IsCompressedFormat

Queries whether the media type is a compressed format.

IsEqual

Compares two media types and determines whether they are identical.

 

Remarks

To create a new media type, call MFCreateMediaType.

All of the information in a media type is stored as attributes. To clone a media type, call IMFAttributes::CopyAllItems.

This interface is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP with Service Pack 2 (SP2) and later.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (October 2006 Update Rollup for Windows XP Media Center Edition) installed.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

Library

Mfuuid.lib

See also

Media Foundation Interfaces
Media Type Attributes
Media Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.