Copyright © 2001-2023 MultiMedia Soft

CdTrackTitleGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

After having performed a request through the CdInfoCreate method, if available obtains the title of a specific track of the CD.

 

For further information about obtaining CD info, refer to the How to get Audio CD info using CDDB servers tutorial.

 

 

Syntax

 

[Visual Basic]

control.CdTrackTitleGet (

nPlayer as Integer,

nTrackIndex as Integer

) as String


 

[C++]

LPCTSTR control.CdTrackTitleGet (

short nPlayer,

short nTrackIndex

);


 

 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player.

nTrackIndex

Number representing the one-based index of the CD audio track.

 

 

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 title of the CD track