共用方式為


IMSVidCtl::get_VideoRenderersAvailable

 
Microsoft DirectShow 9.0

IMSVidCtl::get_VideoRenderersAvailable

This topic applies to Windows XP or later.

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

Syntax

  HRESULT get_VideoRenderersAvailable(
  
  IMSVidVideoRendererDevices**
  
  pVal
  
  );

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also