Assembly: Bass.Net (in Bass.Net.dll) Version: 22.214.171.124
[DllImportAttribute("basscd")] public static bool BASS_CD_Release( int drive )
<DllImportAttribute("basscd">] Public Shared Function BASS_CD_Release ( drive As Integer ) As Boolean
- Type: SystemInt32
The drive to release... 0 = the first drive.
Return ValueType: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
When using the SPTI interface, some applications may require BASSCD to release a CD drive before the app is able to use it. After a drive has been released, BASSCD will attempt to re-acquire it in the next BASSCD function call made on it.
|BASS_ERROR_DEVICE||drive is invalid.|
|BASS_ERROR_NOTAVAIL||The ASPI interface is being used.|