Copyright © 2005-2018 MultiMedia Soft

CdReadTrackPercentage event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs during a CD track loading session, started through the LoadTrackFromCd method, in order to notify the loading advancement percentage.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event CdReadTrackPercentage As CdTrackPercEventHandler


 

[C#]

public event CdTrackPercEventHandler CdReadTrackPercentage;


 

[C++]

public: __event CdTrackPercEventHandler CdReadTrackPercentage;


 

 

Event Data

 

The event handler receives an argument of type CdPercTrackEventArgs 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.

nCdTrackIndex

Number representing the one-based index of the CD audio track that is being loaded.

nPercentage

Number representing the CD track loading advancement percentage.