| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The get_AudioRendererActive method retrieves the audio renderer that is currently active.
Syntax
HRESULT get_AudioRendererActive(
  IMSVidAudioRenderer**  ppVal
);
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.
See Also