Platforms to show: All Mac Windows Linux Cross-Platform

Back to DirectShowPinMBS class.

DirectShowPinMBS.Accept(Type as DirectShowMediaTypeMBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Accept method determines whether the pin accepts a specified media type.

Lasterror is set.

A return value of true indicates that the pin will accept the media type, either on the next sample, or after a pin reconnection. The implementation should take into account the current state of the filter, including connections on other pins, and any properties that can be set on the filter.

Any other return value, including false, means that the pin rejects the media type. Therefore, test for true explicitly.

If the filter is running, a return value of true is ambiguous. The pin might accept a format change on the next media sample, without reconnecting; or it might need to reconnect. If the pin supports the IPinConnection interface, call the IPinConnection::DynamicQueryAccept method, which specifically tests whether the pin can accept the new type without reconnecting.

DirectShowPinMBS.BaseFilter as DirectShowBaseFilterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries base filter.

Lasterror is set.

DirectShowPinMBS.ConnectedTo as DirectShowPinMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The ConnectedTo method retrieves a pointer to the connected pin, if any.

Lasterror is set.

DirectShowPinMBS.ConnectionMediaType as DirectShowMediaTypeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The ConnectionMediaType method retrieves the media type for the current pin connection, if any.

Lasterror is set.
Returns nil if not connected.

DirectShowPinMBS.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.

DirectShowPinMBS.Direction as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The QueryDirection method gets the direction of the pin (input or output).

Lasterror is set.

DirectShowPinMBS.Disconnect

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 12.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Disconnect method breaks the current pin connection.

The Filter Graph Manager calls this method when it disconnects two filters. Applications and filters should not call this method. Instead, call the DirectShowFilterGraphMBS.Disconnect method on the Filter Graph Manager.
Sets lasterror.

This method fails if the filter is paused or running. If the pin supports the PinConnection interface, call PinConnection DynamicDisconnect to disconnect the pin when the filter is paused or running.
This method does not disconnect the other pin in the pin connection.

DirectShowPinMBS.Id as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Id method retrieves an identifier for the pin.

Returns a string containing the pin identifier.
Lasterror is set.

DirectShowPinMBS.MediaTypes as DirectShowMediaTypeMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Enumerates the pin's preferred media types.

Lasterror is set.

DirectShowPinMBS.Name as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DirectShow MBS Win Plugin 21.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries name of the pin.

Lasterror is set.

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


The biggest plugin in space...