skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Interface IMFVideoDisplayControl

Namespace: MediaFoundation.EVR
Assembly: MediaFoundation.dll

Syntax

[Guid("A490B1E4-AB84-4D31-A1B2-181E03B1077A")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFVideoDisplayControl

Methods

GetAspectRatioMode(out MFVideoAspectRatioMode)

Declaration
HResult GetAspectRatioMode(out MFVideoAspectRatioMode pdwAspectRatioMode)
Parameters
MFVideoAspectRatioMode pdwAspectRatioMode

Returns
HResult

GetBorderColor(out Int32)

Declaration
HResult GetBorderColor(out int pClr)
Parameters
System.Int32 pClr

Returns
HResult

GetCurrentImage(BitmapInfoHeader, out IntPtr, out Int32, out Int64)

Declaration
HResult GetCurrentImage(BitmapInfoHeader pBih, out IntPtr pDib, out int pcbDib, out long pTimeStamp)
Parameters
BitmapInfoHeader pBih

System.IntPtr pDib

System.Int32 pcbDib

System.Int64 pTimeStamp

Returns
HResult

GetFullscreen(out Boolean)

Declaration
HResult GetFullscreen(out bool pfFullscreen)
Parameters
System.Boolean pfFullscreen

Returns
HResult

GetIdealVideoSize(MFSize, MFSize)

Declaration
HResult GetIdealVideoSize(MFSize pszMin, MFSize pszMax)
Parameters
MFSize pszMin

MFSize pszMax

Returns
HResult

GetNativeVideoSize(MFSize, MFSize)

Declaration
HResult GetNativeVideoSize(MFSize pszVideo, MFSize pszARVideo)
Parameters
MFSize pszVideo

MFSize pszARVideo

Returns
HResult

GetRenderingPrefs(out MFVideoRenderPrefs)

Declaration
HResult GetRenderingPrefs(out MFVideoRenderPrefs pdwRenderFlags)
Parameters
MFVideoRenderPrefs pdwRenderFlags

Returns
HResult

GetVideoPosition(MFVideoNormalizedRect, MFRect)

Declaration
HResult GetVideoPosition(MFVideoNormalizedRect pnrcSource, MFRect prcDest)
Parameters
MFVideoNormalizedRect pnrcSource

MFRect prcDest

Returns
HResult

GetVideoWindow(out IntPtr)

Declaration
HResult GetVideoWindow(out IntPtr phwndVideo)
Parameters
System.IntPtr phwndVideo

Returns
HResult

RepaintVideo()

Declaration
HResult RepaintVideo()
Returns
HResult

SetAspectRatioMode(MFVideoAspectRatioMode)

Declaration
HResult SetAspectRatioMode(MFVideoAspectRatioMode dwAspectRatioMode)
Parameters
MFVideoAspectRatioMode dwAspectRatioMode

Returns
HResult

SetBorderColor(Int32)

Declaration
HResult SetBorderColor(int Clr)
Parameters
System.Int32 Clr

Returns
HResult

SetFullscreen(Boolean)

Declaration
HResult SetFullscreen(bool fFullscreen)
Parameters
System.Boolean fFullscreen

Returns
HResult

SetRenderingPrefs(MFVideoRenderPrefs)

Declaration
HResult SetRenderingPrefs(MFVideoRenderPrefs dwRenderFlags)
Parameters
MFVideoRenderPrefs dwRenderFlags

Returns
HResult

SetVideoPosition(MFVideoNormalizedRect, MFRect)

Declaration
HResult SetVideoPosition(MFVideoNormalizedRect pnrcSource, MFRect prcDest)
Parameters
MFVideoNormalizedRect pnrcSource

MFRect prcDest

Returns
HResult

SetVideoWindow(IntPtr)

Declaration
HResult SetVideoWindow(IntPtr hwndVideo)
Parameters
System.IntPtr hwndVideo

Returns
HResult

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.