Share via


CBaseRenderer::SendRepaint

 
Microsoft DirectShow 9.0

CBaseRenderer::SendRepaint

The SendRepaint method sends a repaint event to the filter graph manager.

Syntax

  void SendRepaint(void);

Remarks

This method sends an EC_REPAINT event to the filter graph manager if the following conditions are true:

Depending on the state of the graph, the EC_REPAINT event can cause the upstream filter to re-send a sample; the filter graph to seek to its current location; or the filter graph manager to pause momentarily. (See EC_REPAINT.) This event is potentially inefficient, so it should be used sparingly. However, video renderers sometimes need to refresh the display.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also