Share via


CBaseRenderer::EndOfStream

 
Microsoft DirectShow 9.0

CBaseRenderer::EndOfStream

The EndOfStream method notifies the filter that the input pin received an end-of-stream notification.

Syntax

  HRESULT EndOfStream(void);

Return Value

Returns S_OK.

Remarks

The filter's input pin calls this method when it receives an end-of-stream notification.

This method sets the CBaseRenderer::m_bEOS flag to TRUE and calls the CBaseRenderer::SendEndOfStream method to schedule an EC_COMPLETE event. If the filter is paused and waiting for a sample, this method completes the state transition.

Requirements

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

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

See Also