// ksmedia.h
typedef struct {
KSPROPERTY Property;
ULONG IndexInputPin;
ULONG IndexOutputPin;
ULONG CanRoute;
} KSPROPERTY_CROSSBAR_ROUTE_S, *PKSPROPERTY_CROSSBAR_ROUTE_S;
View the official Windows Driver Kit DDI referenceNo description available.
The KSPROPERTY_CROSSBAR_ROUTE_S structure describes whether a particular routing is possible and specifies the current routing for a pin.
PropertySpecifies an initialized KSPROPERTY structure that describes the property set, property ID, and request type.
IndexInputPinSpecifies the zero-based index of the input pin for which the query is being made.
IndexOutputPinSpecifies the zero-based index of the output pin for which the query is being made.
CanRouteReturns whether the minidriver supports routing between the pins specified by IndexInputPin and IndexOutputPin. A nonzero value indicates that routing is supported. If the minidriver does not support routing between the two pins, this value is zero.
If the value of IndexInputPin is (-1) on an audio output pin, then the audio stream should be muted.