Microsoft DirectX 9.0

IMSVidCtl::DisableAudio

This topic applies to Windows XP only.

The DisableAudio method disables the audio output device.

Syntax

HRESULT DisableAudio();

Parameters

This method takes no parameters.

Return Values

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.

See Also