Share via


IMSVidCtl::DisableAudio Method

This topic applies to Windows XP or later.
The DisableAudio method disables the audio output device.

Syntax

HRESULT DisableAudio();

Parameters

This method has no parameters.

Return Value

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

Remarks

This method sets the active audio output device to NULL.

Requirements

Header Declared in Dshow.h.
DLL Requires Quartz.dll.

See Also

IMSVidCtl Interface
IMSVidCtl::put_AudioRendererActive

Send comments about this topic to Microsoft

Build date: 12/4/2008