|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);
Returns an HRESULT value. Possible values include those in the following table.
|S_FALSE||The filter graph manager is not accepting event notifications.|
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.