IMediaEventEx Interface

 
Microsoft DirectShow 9.0

IMediaEventEx Interface

The IMediaEventEx interface inherits the IMediaEvent interface, which contains methods for retrieving event notifications and for overriding the filter graph's default handling of events. IMediaEventEx adds methods that enable an application window to receive messages when events occur. Unlike IMediaEvent, this interface is not available through Automation, and therefore cannot be called directly from Microsoft® Visual Basic® 6.0.

The Filter Graph Manager implements this interface.

For more information about event notification, see Event Notification in DirectShow. For a list of system-defined event notifications, see Event Notification Codes.

In addition to the methods inherited from IMediaEvent, the IMediaEventEx interface exposes the following methods.

Method Description
SetNotifyWindow Registers a window to process event notifications.
SetNotifyFlags Enables or disables event notifications.
GetNotifyFlags Determines whether event notifications are enabled.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.