IMFMediaType Interface
Represents a description of a media format.
Mitglieder
IMFMediaTypeSchnittstelle erbt von IMFAttributes. IMFMediaType umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IMFMediaTypeSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
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. |
Hinweise
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 mit Service Pack 2 (SP2) und höher.
- Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (Oktober 2006 Updaterollup für Windows XP Media Center Edition) installed.
Anforderungen
Mindestens unterstützter Client |
Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 |
Header |
Mfobjects.h (include Mfidl.h) |
Bibliothek |
Mfuuid.lib |