|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function GetCdNumTracks (
nCdDriveIndex as Int16
) as Int16
|
|
[C#]
public Int16 GetCdNumTracks (
Int16 nCdDriveIndex
);
|
|
[C++]
public: Int16 GetCdNumTracks (
Int16 nCdDriveIndex
);
|
|
Parameter
|
Description
|
|
|
|
|
nCdDriveIndex
|
Number representing the zero-based index of the involved CD drive.
Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.
If the number of tracks to report has been obtained through a search through the Amazon catalogue, by calling the CdRequestAlbumInfo method, set this parameter to -1.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
> 0
|
The number of available audio tracks
|