Share via


EC_WINDOW_DESTROYED (Windows Embedded CE 6.0)

1/6/2010

The video renderer's filter is being removed or destroyed. Video renderers send this event notification so that resources that depend on window focus can be passed to other filters.

Parameters

  • lParam1
    Pointer to the IBaseFilter interface whose window is being destroyed.
  • lParam2
    Zero.

Remarks

This event notification is not sent to the application.

A renderer should send this notification when its window is destroyed.

The first parameter must be the renderer's IBaseFilter interface.

Sending this notification when the filter is being destroyed might be too late, because the filter graph manager might have already been destroyed. Therefore, handle this when the renderer's IBaseFilter::JoinFilterGraph method is called with a null filter graph (indicating that the renderer is about to be removed from the filter graph).

Sending these event codes allows the plug-in distributor in the filter graph manager to pass on resources that depend on window focus to other filters (such as audio devices).

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

Requirements

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

Event Notification Codes