BASS_PluginFree

Unplugs an add-on.

BOOL BASS_PluginFree(
    HPLUGIN handle
);

Parameters

handleThe plugin handle... 0 = all plugins.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not valid.

Remarks

If there are streams created by a plugin in existence when it is being freed, those streams will automatically be freed too. Samples loaded by the plugin are unaffected as the plugin has nothing to do with them once they are loaded; the sample data is already fully decoded.

See also

BASS_PluginEnable, BASS_PluginLoad