Partager via


IMSVidCtl::put_VideoRendererActive

 
Microsoft DirectShow 9.0

IMSVidCtl::put_VideoRendererActive

This topic applies to Windows XP or later.

The put_VideoRendererActive method specifies the active video renderer.

Syntax

  HRESULT put_VideoRendererActive(
  
  IMSVidVideoRenderer*
  
  pVal
  
  );

Parameters

  pVal

[in]  Specifies a pointer to the IMSVidVideoRenderer interface of the video renderer device.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Currently the only supported video renderer is the Video Mixing Renderer (VMR) filter. The VMR is used by default, so it is not necessary to call this method.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also