共用方式為


IAMAudioInputMixer::get_Enable

 
Microsoft DirectShow 9.0

IAMAudioInputMixer::get_Enable

The get_Enable method retrieves whether the input is enabled.

Syntax

  HRESULT get_Enable(
  BOOL *pfEnable
);

Parameters

pfEnable

[out]  Receives one of the following values.

Value Description
TRUE Input is enabled.
FALSE Input is disabled.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Remarks

This method applies to specific input pins on the Audio Capture Filter, so the filter itself returns E_NOTIMPL.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also