Copyright © 2006-2018 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