共用方式為


CSourceStream::Stop

 
Microsoft DirectShow 9.0

CSourceStream::Stop

The Stop method signals the streaming thread to stop.

Syntax

  HRESULT Stop(void);

Return Value

Returns S_OK or E_UNEXPECTED.

Remarks

The CSourceStream::Inactive 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