ObjectVirtualSourceCreate Method (MRendererClass)
"1" is to create virtual source, "0" is to destroy this one
name of virtual source. It is implemented only is source object is started. In other case a default name is used that may cause a problem if you use several virtual objects.
parameters of virtual source
Creates virtual source.
Syntax
Public Overridable Sub ObjectVirtualSourceCreate( _
   ByVal _bCreate As Integer, _
   ByVal _bsName As String, _
   ByVal _bsParam As String _
) 
public virtual void ObjectVirtualSourceCreate( 
   int _bCreate,
   string _bsName,
   string _bsParam
)
public procedure ObjectVirtualSourceCreate( 
    _bCreate: Integer;
    _bsName: String;
    _bsParam: String
); virtual; 
public: virtual void ObjectVirtualSourceCreate( 
   int _bCreate,
   BSTR* _bsName,
   BSTR* _bsParam
) 

Parameters

_bCreate
"1" is to create virtual source, "0" is to destroy this one
_bsName
name of virtual source. It is implemented only is source object is started. In other case a default name is used that may cause a problem if you use several virtual objects.
_bsParam
parameters of virtual source
Example
' Create virtual device, use default name
m_objPlaylist.ObjectVirtualSourceCreate(1, "", "");
// Create virtual device, use default name
m_objPlaylist.ObjectVirtualSourceCreate(1, "", "");
// Create virtual device, use default name
m_objPlaylist:= CreateComObject(CLASS_MPlaylist) as MPlaylist;
m_pObject := m_objPlaylist as IMObject;
m_pObject .ObjectVirtualSourceCreate(1, '', '');
See Also

Reference

MRendererClass Class
MRendererClass Members