Platforms to show: All Mac Windows Linux Cross-Platform
DirectShowMediaEventMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DirectShow | MBS Win Plugin | 12.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
The MediaEvent interface contains methods for retrieving event notifications and for overriding the Filter Graph Manager's default handling of events. The MediaEventEx interface inherits this interface and extends it.
The Filter Graph Manager implements this interface. Applications can use it to respond to events that occur in the filter graph, such as the end of a stream or a rendering error. Filters post events to the filter graph using the IMediaEventSink interface.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 3 properties
- property Handle as Integer
- property Lasterror as Integer
- property LasterrorMessage as String
- 4 methods
- method CancelDefaultHandling(eventCode as Integer)
- method Constructor Private
- method FreeEventParams(eventCode as Integer, Param1 as Integer, Param2 as Integer)
- method RestoreDefaultHandling(eventCode as Integer)
Constants
Constant | Value | Description |
---|---|---|
AM_MEDIAEVENT_NONOTIFY | 1 |
One of the notify flags constant.
Pass this value to NotifyFlags to disable event notification. |
Sub classes:
The items on this page are in the following plugins: MBS Win Plugin.
DirectShowMediaEventExMBS - DirectShowMediaFilterMBS