Copyright © 2006-2018 MultiMedia Soft

CdDriveReadError event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs, during a CD ripping session, as a consequence of a CD read error.

 

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

 

 

Syntax

 

[Visual Basic]

Public Event CdDriveReadError As CdDriveReadErrorEventHandler


 

[C#]

public event CdDriveReadErrorEventHandler CdDriveReadError;


 

[C++]

public: __event CdDriveReadErrorEventHandler CdDriveReadError;


 

 

Event Data

 

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

nPositionInBytes

Number representing the position within the CD track, expressed in bytes, where the read error occurred.

nPositionInMs

Number representing the position within the CD track, expressed in milliseconds, where the read error occurred.