Microsoft DirectX 8.1 (C++)

IMSVidCtl::DisableAudio

This topic applies to Windows XP Home Edition and Windows XP Professional 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