Share via


CDynamicOutputPin::Active

 
Microsoft DirectShow 9.0

CDynamicOutputPin::Active

The Active method notifies the pin that the filter is now active.

Syntax

  HRESULT Active(void);

Return Value

Returns an HRESULT value. Possible values include those shown in the following table.

Value Description
S_OK Success.
E_FAIL Failure. CDynamicOutputPin::SetConfigInfo was not called.

Remarks

This method overrides the CBaseOutputPin::Active method. It resets the CDynamicOutputPin::m_hStopEvent event. If the owning filter has not called SetConfigInfo, this method returns E_FAIL.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also