Partager via


EC_REPAINT (Compact 2013)

3/26/2014

A repaint is required. Paused or stopped video renderers send this message when they receive a WM_PAINT message and there is no data to display.

Parameters

  • lParam1
    Pointer to the IPin interface that needs the data to be sent again.
  • lParam2
    Zero.

Remarks

The default is not to send this event notification to the application.

The default can be overridden by calling IMediaEvent::CancelDefaultHandling.

A renderer should send its input pin as the first parameter to the event. By doing this, the attached output pin is queried for IMediaEventSink.

If supported, the EC_REPAINT notification is sent there first. This allows output pins to handle repaints before the filter graph must be touched.

For information on how to use this event code, see CBaseFilter::NotifyEvent.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Event Notification Codes