共用方式為


CSourceStream::OnThreadStartPlay

 
Microsoft DirectShow 9.0

CSourceStream::OnThreadStartPlay

The OnThreadStartPlay method is called at the start of the CSourceStream::DoBufferProcessingLoop method.

Syntax

  virtual HRESULT OnThreadStartPlay(void);

Return Value

Returns S_OK.

Remarks

This method does nothing in the base class; it is available for the derived class to override.

Requirements

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

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

See Also