Assembly: Bass.Net (in Bass.Net.dll) Version: 220.127.116.11
Return ValueType: Boolean
, if the module could be loaded successfully, else .
Normally an external library will be loaded into memory when either of the declared methods will be called for the very first time. This results in the very first call to a library method being slower than all subsequent calls.
Moreover some of the BASS libraries and add-ons will introduce new options to the main BASS lib, e.g. new parameters which can be used with BASS_SetConfig(BASSConfig, Int32) or BASS_GetConfig(BASSConfig). But in order to enable BASS using these new options the respective library must have been already loaded. This method can be used to ensure this.
This method can also be used as an alternative way to load a library instead of using the BASS way via BASS_PluginLoad(String). The advantage of this is method here is, that you might locate all your bass dll's in a different directory.
The disadvantage of this method is, that the standard plugin support for BASS_StreamCreateFile(String, Int64, Int64, BASSFlag) is not working - so you would need to use the native add-on methods!