Microsoft DirectX 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.

See Also