CBaseRenderer.SetRepaintStatus method
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The SetRepaintStatus
method enables or disables repaint events.
Syntax
void SetRepaintStatus(
BOOL bRepaint
);
Parameters
-
bRepaint
-
Boolean value indicating whether repaint events are enabled. If TRUE, the filter will sent EC_REPAINT events to the filter graph manager. Otherwise, it will not send EC_REPAINT events.
Return value
This method does not return a value.
Remarks
This method ensures that the filter graph manager is not flooded with redundant EC_REPAINT events. After the filter sends an EC_REPAINT event, it calls this method with the value TRUE. The filter does not send more EC_REPAINT events until it receives more data.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|