IAMCrossbar interface (strmif.h)

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.


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


The IAMCrossbar interface has these methods.


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

The get_CrossbarPinInfo method retrieves information about a specified pin.

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

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

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


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