BASS.NET API for the Un4seen BASS Audio LibraryBassCdBASS_CD_GetInfo Method (Int32)BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on a drive.

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

public static BASS_CD_INFO BASS_CD_GetInfo(
	int drive
)

Parameters

drive
Type: SystemInt32
The drive to get info on... 0 = the first drive.

Return Value

Type: BASS_CD_INFO
An instance of the BASS_CD_INFO class on success - or on error.
Remarks

ERROR CODEDescription
BASS_ERROR_DEVICEdrive is invalid.

Examples

VB
Dim info As BASS_CD_INFO = BassCd.BASS_CD_GetInfo(0)
If Not (info Is Nothing) Then
  Console.WriteLine(info.ToString())
End If
BASS_CD_INFO info = BassCd.BASS_CD_GetInfo(0);
if ( info != null )
  Console.WriteLine( info.ToString() );
See Also

Reference