Partager via


CTransformFilter::EndOfStream (Compact 2013)

3/26/2014

Receives an end-of-stream notification and passes it downstream.

Syntax

virtual HRESULT EndOfStream( );

Parameters

None.

Return Value

Returns an HRESULT value.

Remarks

By default, this member function calls the CBaseOutputPin::DeliverEndOfStream member function on the output pin to send the end-of-stream notification to the next filter.

Override this member function if you are using queued data or a worker thread.

If you overrode CTransformFilter::Receive and have queued data, you must handle this condition and deliver EOS after all queued data is sent.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CTransformFilter Class