Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
CddbGetAlbumInfo method 
 
Remarks 
 
Retrieves a specific CDDB information about 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. 
 
 
Syntax 
 
[Visual Basic] 
Public Function CddbGetAlbumInfo
nCdDriveIndex as integer, 
nInfo as enumCddbAlbumInfo 
) as String
 
[C#] 
public string CddbGetAlbumInfo
short nCdDriveIndex, 
);
 
[C++] 
public: string CddbGetAlbumInfo
short nCdDriveIndex, 
);
 
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. 
nInfo
Number representing the requested information code. 
 
Supported values are the following: 
Mnemonic value
Numeric value
Meaning
CDDB_ALBUM_TITLE
0
The CD album title
CDDB_ALBUM_ARTIST
1
The CD album artist
CDDB_ALBUM_YEAR
2
The CD album year
CDDB_ALBUM_GENRE
3
The CD album genre
CDDB_ALBUM_CLIENT_INFO
4
The CD album client info
 
 
Return value 
 
Value
Meaning
 
 
Empty string
An error occurred. Check the LastError property value in order to see the last error.
Valid string
The requested information
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents