BASS_ErrorGetCode

Retrieves the BASS error code for the most recent BASS function call.

DWORD WINAPI BASS_ErrorGetCode();

Return value
If no error occured during the last BASS function call then BASS_OK is returned, else one of the BASS_ERROR values is returned. See the function description for an explanation of what the error code means.