Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_VideoRendererActive method retrieves the currently active video renderer.


HRESULT get_VideoRendererActive(
  IMSVidVideoRenderer**  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.


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

See Also