IAMCrossbar interface (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IAMCrossbar interface routes signals from an analog or digital source to a video capture filter.

This interface is implemented by the Analog Video Crossbar Filter. The Analog Video Crossbar filter is modeled after a general switching matrix, with n inputs and m outputs. For example, a video card might have two external connectors: a coaxial connector for TV, and an S-video input. These would be represented as input pins on the filter. To select one of the inputs, an application would use the IAMCrossbar interface to "route" an input pin to the filter's output pin, by calling the IAMCrossbar::Route method.

Inheritance

The IAMCrossbar interface inherits from the IUnknown interface. IAMCrossbar also has these types of members:

Methods

The IAMCrossbar interface has these methods.

 
IAMCrossbar::CanRoute

The CanRoute method queries whether a specified input pin can be routed to a specified output pin.
IAMCrossbar::get_CrossbarPinInfo

The get_CrossbarPinInfo method retrieves information about a specified pin.
IAMCrossbar::get_IsRoutedTo

The get_IsRoutedTo method retrieves the input pin that is currently routed to the specified output pin.
IAMCrossbar::get_PinCounts

The get_PinCounts method retrieves the number of input and output pins on the crossbar filter.
IAMCrossbar::Route

The Route method routes an input pin to an output pin.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

Working with Crossbars