IMediaEventEx Interface
A version of this page is also available for
4/8/2010
This interface derives from IMediaEvent and adds a method that allows registration of a window to receive messages when events occur.
When to Implement
This interface is implemented by the filter graph manager.
Unlike IMediaEvent, IMediaEventEx is not available through Automation, and therefore cannot be called directly from Microsoft® Visual Basic®.
The CMediaEvent Class supports IMediaEventEx.
When to Use
This interface is used by applications to receive notification that an event has occurred. Applications can then avoid using a separate thread that waits until an event is set.
For a list of system-defined event notifications, see Event Notification Codes.
Methods in Vtable Order
The following tables show the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.
IDispatch method | Description |
---|---|
Determines whether there is type information available for this dispinterface. |
|
Retrieves the type information for this dispinterface if GetTypeInfoCount returned successfully. |
|
Converts text names of properties and methods (including arguments) to their corresponding DISPIDs. |
|
Calls a method or accesses a property in this dispinterface if given a DISPID and any other necessary parameters. |
IMediaEvent method | Description |
---|---|
Retrieves a handle to a manual-reset event that will be signaled. |
|
Retrieves the next notification event. |
|
Waits until the graph's operation has completed. |
|
Cancels any default handling of the specified event by the filter graph. |
|
Restores default handling for this event. |
|
Frees resources associated with the parameters to an event. |
IMediaEventEx method | Description |
---|---|
Registers a window that will handle messages when a specified event occurs. |
|
Turns event notifications on or off. |
|
Retrieves whether event notifications are on or off. |
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | 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 |