BASS.NET API for the Un4seen BASS Audio LibraryBassSfxBASS_SFX_WMP_GetPlugin Method (Int32)BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on a registered windows media player plugin.

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

public static BASS_SFX_PLUGININFO BASS_SFX_WMP_GetPlugin(
	int index
)

Parameters

index
Type: SystemInt32
The plugin to get the information of... 0 = first.

Return Value

Type: BASS_SFX_PLUGININFO
An instance of the BASS_SFX_PLUGININFO class on success - else .
Remarks

This function can be used to enumerate all the available windows media player visualization plugins that are registered on the system.

ERROR CODEDescription
BASS_SFX_ERROR_INITBASS_SFX_Init(IntPtr, IntPtr) has not been successfully called.
BASS_SFX_ERROR_MEMMemory error.
BASS_SFX_ERROR_UNKNOWNSome other mystery problem!

Examples

Getting the plugin info:
VB
Dim info As BASS_SFX_PLUGININFO = Bass.BASS_SFX_WMP_GetPlugin(0)
Console.WriteLine(info.ToString())
BASS_SFX_PLUGININFO info = BassSfx.BASS_SFX_WMP_GetPlugin(0);
Console.WriteLine( info.ToString() );
See Also

Reference