BASS.NET API for the Un4seen BASS Audio Library

BassAsioBASS_ASIO_ErrorGetCode Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the error code for the most recent BASSASIO function call in the current thread.

Namespace:  Un4seen.BassAsio
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bassasio")]
public static BASSError BASS_ASIO_ErrorGetCode()

Return Value

Type: BASSError
If no error occured during the last BASSASIO function call then BASS_OK is returned, else one of the BASSError values is returned. See the function description for an explanation of what the error code means.
Remarks

Error codes are stored for each thread. So if you happen to call 2 or more BASSASIO functions at the same time, they will not interfere with eachother's error codes.
See Also

Reference