Microsoft DirectX 8.1 (C++) |
If end-of-stream was reached, the SendEndOfStream method schedules an EC_COMPLETE event for the filter graph manager.
Syntax
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. |
Remarks
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.
Therefore:
The timer callback method is CBaseRenderer::TimerCallback. To deliver the EC_COMPLETE event, the filter calls the CBaseRenderer::NotifyEndOfStream method.
See Also