Microsoft DirectX 9.0

CBaseRenderer::SetRepaintStatus

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.

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.

See Also