|Microsoft DirectX 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®.
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.
|SetNotifyWindow||Registers a window to process event notifications.|
|SetNotifyFlags||Enables or disables event notifications.|
|GetNotifyFlags||Determines whether event notifications are enabled.|