Microsoft DirectX 9.0


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


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.


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.

See Also