BASS.NET API for the Un4seen BASS Audio Library

BassBASS_ErrorGetCode Method

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

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

[DllImportAttribute("bass")]
public static BASSError BASS_ErrorGetCode()

Return Value

Type: BASSError
If no error occured during the last BASS 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 BASS functions at the same time, they will not interfere with eachother's error codes.
See Also

Reference