共用方式為


IMSVidCtl::get_AudioRendererActive

 
Microsoft DirectShow 9.0

IMSVidCtl::get_AudioRendererActive

This topic applies to Windows XP or later.

The get_AudioRendererActive method retrieves the audio renderer that is currently active.

Syntax

  HRESULT get_AudioRendererActive(
  
  IMSVidAudioRenderer**
  
  pVal
  
  );

Parameters

  ppVal

[out]  Address of a variable that receives an IMSVidAudioRenderer interface pointer. If no audio renderer is active, this parameter receives the value NULL.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
E_POINTER NULL pointer argument.

Remarks

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

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also