Copyright © 2006-2018 MultiMedia Soft

CddbGetTrackTitle method

Previous pageReturn to chapter overviewNext page



Retrieves the CDDB title of the given track for the CD currently inside the given CD drive.


See the How to get Audio CD info using CDDB servers and Amazon catalogue tutorial for further details.





[Visual Basic]

control.CddbGetTrackTitle (

nCdDriveIndex as integer,

nTrackIndex as integer

) as string



LPCTSTR control.CddbGetTrackTitle (

short nCdDriveIndex,

short nTrackIndex









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.


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.



Return value






Empty string

An error occurred. Check the LastError property value in order to see the last error.

Valid string

The CD track title