Copyright © 2001-2019 MultiMedia Soft

CddbGetServerName method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the friendly name of the given CDDB server.

 

The total number of available CDDB servers can be requested through the CddbRequestServersList method: the method will fail if called before receiving the CddbServersListAvailable event.

 

 

Syntax

 

[Visual Basic]

control.CddbGetServerName (

nServerIndex as Integer

) as String


 

[C++]

LPCTSTR control.CddbGetServerName (

short nServerIndex

);


 

 

 

Parameter

Description

 

 

nServerIndex

Number representing the zero-based index of the CDDB server.

 

 

Return value

 

Value

Meaning

 

 

Empty string

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

Valid string

The string containing the CDDB server's friendly name