Share via


CSourceStream::Pause

 
Microsoft DirectShow 9.0

CSourceStream::Pause

The Pause method signals the streaming thread to become active.

Syntax

  HRESULT Pause(void);

Return Value

Returns S_OK or E_UNEXPECTED.

Remarks

The CSourceStream::Active method calls this method. When the CSourceStream::ThreadProc method receives this request, it calls the CSourceStream::DoBufferProcessingLoop method.

Requirements

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

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

See Also