BASS.NET API for the Un4seen BASS Audio Library

BassCdBASS_CD_GetDriveCount Method (Boolean)

BASS.NET API for the Un4seen BASS Audio Library
Returns the total number of available CD drives.

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

public static int BASS_CD_GetDriveCount(
	bool release
)

Parameters

release
Type: SystemBoolean
Release the drive(s) after obtaining the info?

If set, BASS_CD_Release(Int32) will be called right after (which might be required with some drivers).

Return Value

Type: Int32
Number of CD drives available.
Remarks

Uses BASS_CD_GetInfo(Int32, BASS_CD_INFO) internally.
See Also

Reference