|Microsoft DirectShow 9.0|
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.
In addition to the methods inherited from IMediaEvent, the IMediaEventEx interface exposes the following methods.
|SetNotifyWindow||Registers a window to process event notifications.|
|SetNotifyFlags||Enables or disables event notifications.|
|GetNotifyFlags||Determines whether event notifications are enabled.|
Header: Declared in Control.h; include Dshow.h.
Library: Use Strmiids.lib.