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)
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()
SetAspectRatioMode(MFVideoAspectRatioMode)
Declaration
HResult SetAspectRatioMode(MFVideoAspectRatioMode dwAspectRatioMode)
Parameters
MFVideoAspectRatioMode
dwAspectRatioMode
|
Returns
HResult
|
SetBorderColor(Int32)
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
|