Releases a drive to allow other applications to access it.
Namespace: Un4seen.Bass.AddOn.Cd
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- drive
- Type: SystemInt32
The drive to release... 0 = the first drive.
Return Value
Type: BooleanIf successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
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.
ERROR CODE | Description |
---|---|
BASS_ERROR_DEVICE | drive is invalid. |
BASS_ERROR_NOTAVAIL | The ASPI interface is being used. |
See Also