Retrieves information on a plugin.

const BASS_PLUGININFO *BASS_PluginGetInfo(
    HPLUGIN handle


handleThe plugin handle.

Return value

If successful, a pointer to the plugin info is returned, else NULL is returned. Use BASS_ErrorGetCode to get the error code.


The plugin information does not change, so the returned pointer remains valid for as long as the plugin is loaded.

Error codes

BASS_ERROR_HANDLEhandle is not valid.


List the formats supported by a plugin.
const BASS_PLUGININFO *info = BASS_PluginGetInfo(plugin); // get the plugin info
int a;
for (a = 0; a < info->formatc; a++) { // display the array of formats...
    printf("ctype=%x name=%s exts=%s\n",
        info->formats[a].ctype, info->formats[a].name, info->formats[a].exts);

See also

BASS_PluginLoad, BASS_PLUGININFO structure