EC_REPAINT

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, 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_REPAINT notification 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.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.