Partager via


IMSVidCtl::get_VideoRendererActive

 
Microsoft DirectShow 9.0

IMSVidCtl::get_VideoRendererActive

This topic applies to Windows XP or later.

The get_VideoRendererActive method retrieves the currently active video renderer.

Syntax

  HRESULT get_VideoRendererActive(
  
  IMSVidVideoRenderer**
  
  pVal
  
  );

Parameters

  ppVal

[out]  Address of a variable that receives an IMSVidVideoRenderer interface pointer. If no video renderer is active, this parameter receives the value NULL.

Return Values

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

Remarks

The returned IMSVidVideoRenderer interface has an outstanding reference count. The caller must release the interface.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also