Sub DeviceSet( _ ByVal _eDevType As eMFDeviceType, _ ByVal _nIndex As Integer, _ ByVal _bsParam As String _ )
void DeviceSet( eMFDeviceType _eDevType, int _nIndex, string _bsParam )
procedure DeviceSet( _eDevType: eMFDeviceType; _nIndex: Integer; _bsParam: String );
void DeviceSet( eMFDeviceType _eDevType, int _nIndex, BSTR* _bsParam )
Here is an example of how to set a video device:
m_objLive.DeviceSet(eMFDeviceType.eMFDT_Video, comboBoxV.SelectedIndex, "");
IMFDevice Interface IMFDevice Members