Partager via


EC_WINDOW_DESTROYED (Windows CE 5.0)

Send Feedback

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

Pocket PC: Windows Mobile 5.0 and later
Smartphone: Windows Mobile 5.0 and later
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

See Also

Event Notification Codes

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.