Microsoft DirectX 9.0


The EndOfStream method notifies the filter that no additional data is expected from the input pin.


virtual HRESULT EndOfStream(void);

Return Value

Returns S_OK or another HRESULT value.


The input pin's CTransformInputPin::EndOfStream method calls this method. This method delivers the end-of-stream notification downstream. If the derived class uses a worker thread to deliver media samples, it should override this method and queue the end-of-stream notification.

See Also

CTransformFilter Class