Gets the name of a loaded SFX plugin.
Namespace: Un4seen.Bass.AddOn.Sfx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- handle
- Type: SystemInt32
The SFX plugin handle (as obtained by BASS_SFX_PluginCreate(String, IntPtr, Int32, Int32, BASSSFXFlag)).
Return Value
Type: StringIf successful, the name of the plugin is returned, else is returned.
Remarks
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_MEM | Memory error. |
BASS_SFX_ERROR_UNKNOWN | Some other mystery problem! |
Examples
// create a plugin object int sfx = BassSfx.BASS_SFX_PluginCreate("corona.svp", pictureBox1.Handle, pictureBox1.Width, pictureBox1.Height, BASSSFXFlag.BASS_SFX_DEFAULT); if (sfx != 0) { // get the plugin name Console.WriteLine(BassSfx.BASS_SFX_PluginGetName(sfx)); }
See Also