BASS_PluginGetInfo
Retrieves information on a plugin.
BASS_PLUGININFO *BASS_PluginGetInfo(
HPLUGIN handle
);
Parameters
Return value
If successful, a pointer to the plugin info is returned, else NULL is returned. Use
BASS_ErrorGetCode to get the error code.
Remarks
The plugin information does not change, so the returned pointer remains valid for as long as the plugin is loaded.
Error codes
BASS_ERROR_HANDLE | handle is not valid.
|
Example
List the formats supported by a plugin.
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