共用方式為


IMSVidCtl::get_AudioRenderersAvailable

 
Microsoft DirectShow 9.0

IMSVidCtl::get_AudioRenderersAvailable

This topic applies to Windows XP or later.

The get_AudioRenderersAvailable method retrieves the available audio renderers.

Syntax

  HRESULT get_AudioRenderersAvailable(
  
  IMSVidAudioRendererDevices**
  
  pVal
  
  );

Parameters

  ppVal

[out]  Address of a variable that receives an IMSVidAudioRendererDevices 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 read-only collection of input devices. Use the returned IMSVidAudioRendererDevices pointer to enumerate the collection.

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

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also