Windows Dev Center

IVMRWindowlessControl9 interface

The IVMRWindowlessControl9 interface controls how the Video Mixing Renderer Filter 9 (VMR-9) renders a video stream within a container window.

Members

The IVMRWindowlessControl9 interface inherits from the IUnknown interface. IVMRWindowlessControl9 also has these types of members:

Methods

The IVMRWindowlessControl9 interface has these methods.

MethodDescription
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.

 

Remarks

The VMR-9 supports this interface in windowless and renderless modes only. In windowed mode, QueryInterface returns E_NOINTERFACE. For more information, see VMR Modes of Operation.

Include DShow.h and D3d9.h before Vmr9.h.

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Using the Video Mixing Renderer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft