Microsoft DirectX 9.0


If end-of-stream was reached, the SendEndOfStream method schedules an EC_COMPLETE event for the filter graph manager.


virtual HRESULT SendEndOfStream(void);

Return Value

Returns an HRESULT value. Possible values include those in the following table.

Value Description
S_FALSE The filter graph manager is not accepting event notifications.
S_OK Success.


The filter might receive an end-of-stream notification before the current sample's stop time. If so, the filter should wait before posting an EC_COMPLETE notification to the filter graph manager.


The timer callback method is CBaseRenderer::TimerCallback. To deliver the EC_COMPLETE event, the filter calls the CBaseRenderer::NotifyEndOfStream method.

See Also