Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowMediaEventMBS class.

DirectShowMediaEventMBS.CancelDefaultHandling(eventCode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Cancels the Filter Graph Manager's default handling for a specified event.

The event notification is passed to the application.
Lasterror is set.

To restore the default handling for an event, call the RestoreDefaultHandling method with the event code.

DirectShowMediaEventMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The private constructor.

DirectShowMediaEventMBS.FreeEventParams(eventCode as Integer, Param1 as Integer, Param2 as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Frees resources associated with the parameters of an event.

EventCode: Event code.
Param1: First event parameter.
Param2: Second event parameter.

Lasterorr is set.
After you call the GetEvent method to retrieve an event notification, you must call FreeEventParams. This method frees any resources that were allocated for the event parameters. Pass in the same variables used for the GetEvent call.

DirectShowMediaEventMBS.RestoreDefaultHandling(eventCode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Restores the Filter Graph Manager's default handling for a specified event.

Lasterror is set.
By default, the Filter Graph Manager handles some events (such as EC_REPAINT) without passing them to the application. If you call the CancelDefaultHandling method to override the default handling for an event, you can restore the default behavior by calling RestoreDefaultHandling with the same event code.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...