Partager via


IVMRWindowlessControl9 Interface

 
Microsoft DirectShow 9.0

IVMRWindowlessControl9 Interface

The IVMRWindowlessControl9 interface controls how the Video Mixing Renderer Filter 9 (VMR-9) renders a video stream within a container window. Applications must first put the VMR-9 into windowless mode before using the methods on this interface.

In addition to the methods inherited from IUnknown, the IVMRWindowlessControl9 interface exposes the following methods.

Method Description
DisplayModeChanged Informs the VMR that a WM_DISPLAYCHANGE message has been received by the application.
GetAspectRatioMode Retrieves the current aspect ratio display mode.
GetBorderColor Retrieves the current border color used by the VMR.
GetCurrentImage Retrieves a copy of the current image being displayed by the VMR.
GetMaxIdealVideoSize Retrieves the maximum video size that the VMR can display without incurring significant performance or image quality degradation.
GetMinIdealVideoSize Retrieves the minimum video size that the VMR can display without incurring significant performance or image quality degradation.
GetNativeVideoSize Retrieves the un-stretched video size and aspect ratio of the video.
GetVideoPosition Retrieves the current source and destination rectangles used to display the video.
RepaintVideo Repaints the current video frame.
SetAspectRatioMode Sets the current aspect ratio display mode.
SetBorderColor Sets the border color to be used by the VMR.
SetVideoClippingWindow Specifies the container window that video should be clipped to.
SetVideoPosition Sets the source and destination rectangles for the video.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.