PluginsAdd Method (IMPlugins)
plugin object
Adds the plugin (for example, CG).
Syntax
Sub PluginsAdd( _
   ByVal _pPlugin As Object, _
   ByVal _llCallbackUserData As Long _
) 
void PluginsAdd( 
   object _pPlugin,
   long _llCallbackUserData
)
procedure PluginsAdd( 
    _pPlugin: TObject;
    _llCallbackUserData: Int64
); 

Parameters

_pPlugin
plugin object
_llCallbackUserData
Example

Here is example of how to add CharacterGenerator as plugin to your playlist:

Dim m_objPlaylist as New MPlaylistClass();
Dim m_objCharGen As New MLCHARGENLib.CoMLCharGen()
m_objPlaylist.PluginsAdd(m_objCharGen, 0)
MPlaylistClass m_objPlaylist= new MPlaylistClass();
MLCHARGENLib.CoMLCharGen m_objCharGen = new MLCHARGENLib.CoMLCharGen();
m_objPlaylist.PluginsAdd(m_objCharGen, 0);
var
myPlaylist: MPlaylist;
myPlugins: IMPlugins;
m_objCharGen: CoMLCharGen;
begin
m_objCharGen := CreateComObject(CLASS_CoMLCharGen) as IMLCharGen;
myPlaylist:= CreateComObject)CLASS_MPlaylist) as MPlaylist;
myPlugins:= myPlaylist as IMPlugins;
myPlugins.PluginsAdd(m_objCharGen,0);
end;
See Also

Reference

IMPlugins Interface
IMPlugins Members