Copyright © 2005-2018 MultiMedia Soft

CdCoverPictureFileAvailableEx event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs when a certain CD cover's picture file has been downloaded from the Amazon web site.

 

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

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event CdCoverPictureFileAvailableEx As CdCoverPictureFileAvailableExEventHandler


 

[C#]

public event CdCoverPictureFileAvailableExEventHandler CdCoverPictureFileAvailableEx;


 

[C++]

public: __event CdCoverPictureFileAvailableExEventHandler CdCoverPictureFileAvailableEx;


 

 

Event Data

 

The event handler receives an argument of type CdCoverPictureFileAvailableExEventArgs having the following parameters:

 

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.