Gets the active module for a visual plugin.
Namespace: Un4seen.Bass.AddOn.Sfx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bass_sfx")] public static int BASS_SFX_PluginModuleGetActive( int handle )
Parameters
- handle
- Type: SystemInt32
The SFX plugin handle (as obtained by BASS_SFX_PluginCreate(String, IntPtr, Int32, Int32, BASSSFXFlag)).
Return Value
Type: Int32If successful, the active module (zero based index) is returned, else -1 is returned.
Remarks
Note: Sonique plugins only ever have 1 module. Winamp plugins can have multiple modules. So this call is really only useful for Winamp.
ERROR CODE | Description |
---|---|
BASS_SFX_ERROR_INIT | BASS_SFX_Init(IntPtr, IntPtr) has not been successfully called. |
BASS_SFX_ERROR_HANDLE | Invalid SFX handle. |
BASS_SFX_ERROR_UNKNOWN | Some other mystery problem! |
See Also