CSourceStream::OnThreadDestroy

 
Microsoft DirectShow 9.0

CSourceStream::OnThreadDestroy

The OnThreadDestroy method is called when the streaming thread is about to exit.

Syntax

  virtual HRESULT OnThreadDestroy(void);

Return Value

Returns S_OK.

Remarks

The thread procedure, CSourceStream::ThreadProc, calls this method before it exits. The method does nothing in the base class; it is available for the derived class to override. If the derived class returns an error code, the thread exits with an error.

Requirements

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

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

See Also