BASS.NET API for the Un4seen BASS Audio LibraryBassSfxBASS_SFX_PluginModuleGetCount Method BASS.NET API for the Un4seen BASS Audio Library
Gets the number of modules available in the visual plugin.

Namespace: Un4seen.Bass.AddOn.Sfx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

[DllImportAttribute("bass_sfx.dll", CharSet = CharSet.Auto)]
public static int BASS_SFX_PluginModuleGetCount(
	int handle
)

Parameters

handle
Type: SystemInt32
The SFX plugin handle (as obtained by BASS_SFX_PluginCreate(String, IntPtr, Int32, Int32, BASSSFXFlag)).

Return Value

Type: Int32
If successful, the number of modules is returned, else -1 is returned.
Remarks

ERROR CODEDescription
BASS_SFX_ERROR_INITBASS_SFX_Init(IntPtr, IntPtr) has not been successfully called.
BASS_SFX_ERROR_HANDLEInvalid SFX handle.
BASS_SFX_ERROR_UNKNOWNSome other mystery problem!

See Also

Reference