Retrieves the number of tracks on the CD in a drive.
|drive||The drive... 0 = the first drive.
If an error occurs, -1 is returned, use BASS_ErrorGetCode to get the error code. If successful, the number of tracks on the CD is returned.
|BASS_ERROR_DEVICE||drive is invalid.
|BASS_ERROR_NOCD||There is no CD in the drive.
BASS_CD_GetTOC, BASS_CD_GetTrackLength, BASS_CD_StreamCreate