Share via


CSourceStream::Init

 
Microsoft DirectShow 9.0

CSourceStream::Init

The Init method initializes the streaming thread.

Syntax

  HRESULT Init(void);

Return Value

Returns S_OK, or another HRESULT value.

Remarks

This method must be the first thread request sent to the CSourceStream::ThreadProc method. The CSourceStream::Active method calls this method.

Requirements

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

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

See Also