BASS.NET API for the Un4seen BASS Audio Library

BassCdBASS_CD_IsReady Method

BASS.NET API for the Un4seen BASS Audio Library
Checks if there is a CD ready in a drive.

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

[DllImportAttribute("basscd")]
public static bool BASS_CD_IsReady(
	int drive
)

Parameters

drive
Type: SystemInt32
The drive to check... 0 = the first drive.

Return Value

Type: Boolean
If there is a CD ready in the drive, then is returned, else is returned.
Remarks

This function only returns once there's a CD in the drive, and it's ready to be accessed.

ERROR CODEDescription
BASS_ERROR_DEVICEdrive is invalid.

See Also

Reference