|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function CddbGetTrackTitle (
nCdDriveIndex as integer,
nTrackIndex as integer
) as String
|
|
[C#]
public string CddbGetTrackTitle (
short nCdDriveIndex,
short nTrackIndex
);
|
|
[C++]
public: string CddbGetTrackTitle (
short nCdDriveIndex,
short nTrackIndex
);
|
|
Parameter
|
Description
|
|
|
|
|
nCdDriveIndex
|
When CD album info is obtained through a previous call the the CddbRequestAlbumInfo method, this parameter represents the zero-based index of the CD drive containing the Audio CD. Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.
When CD album info is obtained through a previous call the the CdRequestAlbumInfo method, set this value to -1.
|
|
nTrackIndex
|
Number representing the one-based index of the CD audio track.
The total number of available audio tracks on the given CD can be obtained using the GetCdNumTracks method.
|
|
Value
|
Meaning
|
|
|
|
|
Empty string
|
The value of the nCdDriveIndex parameter was out of range. Use the value returned by the GetCdDrivesCount method in order to know how many CD drive are currently installed on the system.
|
|
Valid string
|
The CD track title
|