Microsoft DirectX 8.1 (C++)

IMSVidCtl::get_VideoRenderersAvailable

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The get_VideoRenderersAvailable method retrieves a collection of video renderers available on the local system.

Syntax

HRESULT get_VideoRenderersAvailable(
  IMSVidVideoRendererDevices**  ppVal
);

Parameters

  ppVal

[out]  Address of a variable that receives an IMSVidVideoRendererDevices interface pointer.

Return Values

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

Remarks

This method returns a collection of video renderer devices. Use the returned IMSVidVideoRendererDevices pointer to enumerate the collection.

Note   In the current implementation, the collection always contains exactly one item: an MSVidVideoRenderer object that represents the Video Mixing Renderer filter.

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

See Also