共用方式為


IMSVidCtl::DisableAudio

 
Microsoft DirectShow 9.0

IMSVidCtl::DisableAudio

This topic applies to Windows XP or later.

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also