BASS.NET API for the Un4seen BASS Audio LibraryBassCdBASS_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.12.0
Syntax

[DllImportAttribute("basscd.dll", CharSet = CharSet.Auto)]
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