Copyright © 2001-2019 MultiMedia Soft

GetCdCoverPictureURL method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the URL containing one of the available CD cover pictures.

 

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

 

 

Syntax

 

[Visual Basic]

control.GetCdCoverPictureURL (

nCdDriveIndex as Integer

nCoverSize as enumCdCoverSizes

) as String


 

[C++]

LPCTSTR control.GetCdCoverPictureURL (

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 URL.