Adds a driver to the device list.
|clsid||The driver's class ID.
|driver||The filename of the driver.
|name||Description of the device.
If successful, the new device number is returned, else -1 is returned. Use BASS_ASIO_ErrorGetCode to get the error code.
|BASS_ERROR_FILEOPEN||The driver file does not exist.
A list of installed ASIO drivers is kept in the Windows registry, which is where BASSASIO gets its device list from, but it is also possible to add unregistered drivers (eg. private drivers) to the list via this function. If successful, the returned device number can be used in a BASS_ASIO_Init call to use the driver.
The driver and name strings are expected to be in ANSI form unless Unicode device information has been enabled via BASS_ASIO_SetUnicode, in which case they are expected to be in UTF-16 form.