Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

An audio or video renderer is losing or gaining activation.

The audio or video renderer sends this event notification.

Parameters

lParam1

Set to 1 if activation gained, or 0 if lost.

lParam2

Pointer to the IBaseFilterinterface that is sending the event notification.

Remarks

This event notification is not sent to the application.

This notification is used for sound-follows-focus and full-screen switching.

To interact in full-screen protocols, a video renderer should send an EC_ACTIVATEnotification whenever its window is either activated or deactivated.

In other words, an EC_ACTIVATEnotification should be sent for each WM_ACTIVATEAPP message received by a renderer.

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

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 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