BASS.NET API for the Un4seen BASS Audio LibraryBassSfxBASS_SFX_WMP_GetPlugin Method (Int32, BASS_SFX_PLUGININFO)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 bool BASS_SFX_WMP_GetPlugin(
	int index,
	BASS_SFX_PLUGININFO info
)

Parameters

index
Type: SystemInt32
The plugin to get the information of... 0 = first.
info
Type: Un4seen.Bass.AddOn.SfxBASS_SFX_PLUGININFO
BASS_SFX_PLUGININFO instance where to store the plugin information at.

Return Value

Type: Boolean
If successful, then is returned, else is returned.
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 New BASS_SFX_PLUGININFO()
BassSfx.BASS_SFX_WMP_GetPlugin(0, info)
Console.WriteLine(info.ToString())
BASS_SFX_PLUGININFO info = new BASS_SFX_PLUGININFO();
BassSfx.BASS_SFX_WMP_GetPlugin(0, info);
Console.WriteLine( info.ToString() );
See Also

Reference