Copyright © 2001-2023 MultiMedia Soft

CdCoverPictureFileAvailableEx event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a certain CD cover's picture file has been downloaded.

 

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

 

 

Syntax

 

[Visual Basic]

CdCoverPictureFileAvailableEx (

ByVal nCdDriveIndex as integer,

ByVal nSize as enumCdCoverSizes,

ByVal nResult as enumErrorCodes

)


 

[C++]

void CdCoverPictureFileAvailableEx (

short nCdDriveIndex,

short nSize,

long nResult

);


 

 

Parameters

Description

 

 

nCdDriveIndex

Number representing the zero-based index of the CD drive that fired the event. The total number of available CD drives can be obtained using the GetCdDrivesCount method.

nSize

Specifies the size of the picture.

Supported values are the following:

Mnemonic Value

Value

Meaning

CD_COVER_SIZE_SMALL

0

Small sized picture

CD_COVER_SIZE_MEDIUM

1

Medium sized picture

CD_COVER_SIZE_LARGE

2

Large sized picture

nResult

The result of the CD cover retrieval attempt.

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The operation was successful.