Share via


CSourceStream::Active

 
Microsoft DirectShow 9.0

CSourceStream::Active

The Active method notifies the pin that the filter is now active. This method overrides the CBasePin::Active method. If the pin is connected, this method starts the streaming thread.

Syntax

  HRESULT Active(void);

Return Value

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

Value Description
S_FALSE The pin is already active.
S_OK Success.
E_FAIL Could not start the thread.

Requirements

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

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

See Also