Microsoft DirectX 9.0

EC_WINDOW_DESTROYED

The video renderer was destroyed or removed from the graph.

Parameters

lParam1

Pointer to the video renderer's IBaseFilter interface.

lParam2

Zero.

Default Action

The filter graph manager releases this window as the focus, through the IResourceManager interface. It does not send the event notification to the application.

Remarks

The video renderer sends this event when it leaves the filter graph, in its IBaseFilter::JoinFilterGraph method. (Sending the event when the filter is destroyed might be too late, because at that point the filter graph manager might also be destroyed.)

This event enables other filters to acquire resources that depend on window focus, such as audio devices.

See Also