MultiCam Boards Documentation > MultiCam Documentation > MultiCam DirectShow Reference > Reference Guide > Interfaces > IESFProperties > IESFProperties::SetConnector

IESFProperties::SetConnector

HRESULT SetConnector(
  long lConnectorId
);

lConnectorId

[in] Index of the selected video connector.

Selects the video connector.

It is the index of the video input used by the Euresys source filter.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code

Description

S_OK

No error.

E_INVALIDARG

Connector index is out of the allowed range.

VFW_E_FILTER_ACTIVE

The filter is active. This setting cannot be changed.

VFW_E_ALREADY_CONNECTED

The filter is connected. The connector cannot be changed.

E_FAIL

The operation failed.

E_PROP_ID_UNSUPPORTED

This method is not supported by the pins of the  Euresys source filter.

Notes

When using a Picolo capture board, the index mapping is as follows:

Connector name

Index

VID1

0

VID3

1

YC

2

Requirements

Header

ESFilter.h

Library

ESFilter.dll

MultiCam

5.0 or later

See also

Source Selection

Hardware Reference

IESFProperties::GetBoard

IESFProperties::GetBoardRange