• Api Documentation
  • Source Code
Search Results for

    Show / Hide Table of Contents
    • JeremyAnsel.DirectX.MediaFoundation
      • MF2DBuffer
      • MFAttributes
      • MFDXGIDeviceManager
      • MFFactory
      • MFHelpers
      • MFMediaBuffer
      • MFMediaFormatGuids
      • MFMediaFormatGuids.Audio
      • MFMediaFormatGuids.Image
      • MFMediaFormatGuids.Video
      • MFMediaType
      • MFMediaTypeGuids
      • MFMediaTypeMajorGuids
      • MFReadWriteGuids
      • MFSample
      • MFSinkWriter
      • MFSinkWriterGuids
      • MFSourceReader
      • MFSourceReaderControlFlags
      • MFSourceReaderFlags
      • MFSourceReaderGuids
      • MFVideoInterlaceMode

    Class MFMediaType

    Inheritance
    object
    DXComObject
    MFAttributes
    MFMediaType
    Implements
    IDisposable
    Inherited Members
    MFAttributes.MFAttributesGuid
    MFAttributes.GetItemType(Guid)
    MFAttributes.GetUINT32(Guid)
    MFAttributes.GetUINT64(Guid)
    MFAttributes.GetDouble(Guid)
    MFAttributes.GetGUID(Guid)
    MFAttributes.GetStringLength(Guid)
    MFAttributes.GetString(Guid)
    MFAttributes.GetUnknown(Guid, Guid)
    MFAttributes.DeleteItem(Guid)
    MFAttributes.DeleteAllItems()
    MFAttributes.SetUINT32(Guid, uint)
    MFAttributes.SetUINT64(Guid, ulong)
    MFAttributes.SetDouble(Guid, double)
    MFAttributes.SetGUID(Guid, Guid)
    MFAttributes.SetString(Guid, string)
    MFAttributes.SetUnknown(Guid, nint)
    MFAttributes.LockStore()
    MFAttributes.UnlockStore()
    MFAttributes.GetCount()
    MFAttributes.CopyAllItems(MFAttributes)
    MFAttributes.GetAttributeUINT32(Guid, uint)
    MFAttributes.GetAttributeUINT64(Guid, ulong)
    MFAttributes.GetAttributeDouble(Guid, double)
    MFAttributes.GetAttribute2UINT32asUINT64(Guid, out uint, out uint)
    MFAttributes.SetAttribute2UINT32asUINT64(Guid, uint, uint)
    MFAttributes.GetAttributeRatio(Guid, out uint, out uint)
    MFAttributes.GetAttributeSize(Guid, out uint, out uint)
    MFAttributes.SetAttributeRatio(Guid, uint, uint)
    MFAttributes.SetAttributeSize(Guid, uint, uint)
    DXComObject.Dispose()
    DXComObject.AddRef()
    DXComObject.Release()
    DXComObject.QueryInterface(in Guid)
    DXComObject.Handle
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: JeremyAnsel.DirectX.MediaFoundation
    Assembly: JeremyAnsel.DirectX.MediaFoundation.dll
    Syntax
    [SecurityCritical]
    public class MFMediaType : MFAttributes, IDisposable

    Constructors

    | Edit this page View Source

    MFMediaType(nint)

    Initializes a new instance of the MFMediaType class.

    Declaration
    public MFMediaType(nint comPtr)
    Parameters
    Type Name Description
    nint comPtr

    Fields

    | Edit this page View Source

    MFMediaTypeGuid

    The interface GUID.

    Declaration
    public static readonly Guid MFMediaTypeGuid
    Field Value
    Type Description
    Guid

    Methods

    | Edit this page View Source

    GetMajorType()

    Declaration
    public Guid GetMajorType()
    Returns
    Type Description
    Guid
    | Edit this page View Source

    IsCompressedFormat()

    Declaration
    public bool IsCompressedFormat()
    Returns
    Type Description
    bool

    Implements

    IDisposable
    • Edit this page
    • View Source
    In this article
    Back to top Copyright (c) 2026 Jérémy Ansel