Copyright © 2001-2018 MultiMedia Soft

CddbGetAlbumInfo method

Previous pageReturn to chapter overviewNext page

Retrieves a specific CDDB information about the CD currently inside the given CD drive.

See the How to get CD album information from a CDDB server tutorial for further details.

 

 

Syntax

 

[Visual Basic]

control.CddbGetAlbumInfo (

nCdDriveIndex as Integer,

nInfo as enumCddbAlbumInfo

) as String


 

[C++]

LPCTSTR control.CddbGetAlbumInfo (

short nCdDriveIndex,

short nInfo

);


 

 

Parameter

Description

 

 

nCdDriveIndex

Number representing the zero-based index of the involved CD drive

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