Copyright © 2006-2019 MultiMedia Soft

GetCdCoverPictureFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the full pathname of the local temporary file containing the downloaded CD cover picture.

 

See the How to get a CD cover picture tutorial for further details.

 

 

Syntax

 

[Visual Basic]

Public Function GetCdCoverPictureFile (

nCdDriveIndex as Int16

nCoverSize as enumCdCoverSizes

) as String


 

[C#]

public string GetCdCoverPictureFile (

Int16 nCdDriveIndex,

enumCdCoverSizes nCoverSize

);


 

[C++]

public: string GetCdCoverPictureFile (

Int16 nCdDriveIndex,

enumCdCoverSizes nCoverSize

);


 

 

Parameter

Description

 

 

nCdDriveIndex

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

Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.

nCoverSize

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.