DeviceSet Method (MItemClass)
type of the device
Possible values:
name of the device or the parameter
additional parameters
Sets the working device or updates device properties.
Syntax
Public Overridable Sub DeviceSet( _
   ByVal _bsType As String, _
   ByVal _bsName As String, _
   ByVal _bsParam As String _
) 
public virtual void DeviceSet( 
   string _bsType,
   string _bsName,
   string _bsParam
)
public procedure DeviceSet( 
    _bsType: String;
    _bsName: String;
    _bsParam: String
); virtual; 
public: virtual void DeviceSet( 
   BSTR* _bsType,
   BSTR* _bsName,
   BSTR* _bsParam
) 

Parameters

_bsType
type of the device
Possible values:
  • "video" - currently set video device
  • "video::line-in" - currently set input line of video device
  • "audio" - currently set audio device
  • "audio::line-in" - currently set input line of audio device
  • "renderer" - currently set renderer
  • "renderer::line-out" - currently set renderer output line
  • "renderer::keying" - currently set keying state value
  • "renderer::line-in" - currently set renderer input like (for keying)
_bsName
name of the device or the parameter
_bsParam
additional parameters
Example
m_pDevice.DeviceSet("renderer", "New device", "")
m_pDevice.DeviceSet("renderer", "New device", ""); 
m_pDevice.DeviceSet('renderer', 'New device', ''); 
See Also

Reference

MItemClass Class
MItemClass Members