Microsoft Windows CE 3.0  

EC_REPAINT

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 IPininterface that needs the data to be sent again.
lParam2
Zero.

Remarks

The default is not to send this event notification to the application, although 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 will be queried for IMediaEventSink, and if supported, the EC_REPAINTnotification will be 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.