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]

control.GetCdCoverPictureFile (

nCdDriveIndex as integer

nCoverSize as enumCdCoverSizes

) as string


 

[C++]

LPCTSTR control.GetCdCoverPictureFile (

short nCdDriveIndex,

short nCdCoverSize

);


 

 

 

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