BASS.NET API for the Un4seen BASS Audio Library

BassCdBASS_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.17.5
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

BASS_CD_INFO info = BassCd.BASS_CD_GetInfo(0);
if ( info != null )
  Console.WriteLine( info.ToString() );
See Also

Reference