Compartilhar via


EC_WINDOW_DESTROYED (Compact 2013)

3/26/2014

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Event Notification Codes