Microsoft DirectX 9.0

IMSVidCtl::get_VideoRendererActive

This topic applies to Windows XP only.

The get_VideoRendererActive method retrieves the currently active video renderer.

Syntax

HRESULT get_VideoRendererActive(
  IMSVidVideoRenderer**  ppVal
);

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.

See Also