Microsoft DirectX 9.0

IAMCrossbar::get_IsRoutedTo

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

Syntax

HRESULT get_IsRoutedTo (
  long OutputPinIndex,
  long *InputPinIndex
);

Parameters

OutputPinIndex

[in]  Specifes the index of the output pin.

InputPinIndex

[out]  Pointer to a variable that receives the index of the input pin, or -1 if no input pin is routed to this output pin.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_FALSE No input pin is routed to this output pin.
S_OK Success.
E_POINTER NULL pointer argument.

Remarks

Output pins and input pins are both indexed from zero. To determine the number of output and input pins, call the IAMCrossbar::get_PinCounts method.

See Also