DeviceSet Method (IMFDevice)
device's type
index of a device
additional parameters
Sets a device of the specified type.
Syntax
Sub DeviceSet( _
   ByVal _eDevType As eMFDeviceType, _
   ByVal _nIndex As Integer, _
   ByVal _bsParam As String _
) 
procedure DeviceSet( 
    _eDevType: eMFDeviceType;
    _nIndex: Integer;
    _bsParam: String
); 

Parameters

_eDevType
device's type
_nIndex
index of a device
_bsParam
additional parameters
Example

Here is an example of how to set a video device:

m_objLive.DeviceSet(eMFDeviceType.eMFDT_Video, comboBoxV.SelectedIndex, "");
See Also

Reference

IMFDevice Interface
IMFDevice Members