Copyright © 2005-2023 MultiMedia Soft

CdCoverPictureFileGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

After having performed a request through the CdInfoCreate method, if available obtains the local pathname of a CD cover picture.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function CdCoverPictureFileGet (

nPlayerIndex as Int16,

nCoverSize as enumCdCoverSizes

) as String


 

[C#]

public string CdCoverPictureFileGet (

Int16 nPlayerIndex,

enumCdCoverSizes nCoverSize

);


 

[C++]

public: string CdCoverPictureFileGet (

Int16 nPlayerIndex,

enumCdCoverSizes nCoverSize

);


 

Parameter

Description

 

 

nPlayerIndex

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

nCdCoverSize

Identifies the size of the requested CD cover picture.

Supported values are the following:

Mnemonic value

Numeric value

Meaning

CD_COVER_SIZE_SMALL

0

Small size (thumbnail)

CD_COVER_SIZE_MEDIUM

1

Medium size

CD_COVER_SIZE_LARGE

2

Large size

 

 

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 CD cover picture's full pathname