Platforms to show: All Mac Windows Linux Cross-Platform

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
Function: The Accept method determines whether the pin accepts a specified media type.
Notes:
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.

Feedback, Comments & Corrections

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
Function: Queries base filter.
Notes: Lasterror is set.

Feedback, Comments & Corrections

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
Function: The ConnectedTo method retrieves a pointer to the connected pin, if any.
Notes: Lasterror is set.

Feedback, Comments & Corrections

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
Function: The ConnectionMediaType method retrieves the media type for the current pin connection, if any.
Notes:
Lasterror is set.
Returns nil if not connected.

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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
Function: The QueryDirection method gets the direction of the pin (input or output).
Notes: Lasterror is set.

Feedback, Comments & Corrections

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
Function: The Disconnect method breaks the current pin connection.
Notes:
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.

Feedback, Comments & Corrections

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
Function: The Id method retrieves an identifier for the pin.
Notes:
Returns a string containing the pin identifier.
Lasterror is set.

Feedback, Comments & Corrections

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
Function: Enumerates the pin's preferred media types.
Notes: Lasterror is set.

Feedback, Comments & Corrections

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
Function: Queries name of the pin.
Notes: Lasterror is set.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo blog

Start Chat