Remarks
Occurs when the CDDB server returns the CD album information requested through a previous call to the CddbRequestAlbumInfo method or to the CdRequestAlbumInfo method.
See the How to get Audio CD info using CDDB servers 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 CddbAlbumInfoAvailable As CddbInfoEventHandler
|
|
[C#]
public event CddbInfoEventHandler CddbAlbumInfoAvailable;
|
|
[C++]
public: __event CddbInfoEventHandler CddbAlbumInfoAvailable;
|
|
Event Data
The event handler receives an argument of type CddbInfoEventArgs having the following parameters:
Parameters
|
Description
|
|
|
nCdDriveIndex
|
When the event is generated by a previous call the the CddbRequestAlbumInfo method, it represents the zero-based index of the CD drive that fired the event so its value is 0 or higher. The total number of available CD drives can be obtained using the GetCdDrivesCount method.
When the event is generated by a previous call the the CdRequestAlbumInfo method, its value is -1.
|
bSuccess
|
Boolean value that specifies if the CDDB information was retrieved successfully.
Supported values are the following:
Mnemonic Value
|
Meaning
|
false
|
The request failed
|
true
|
The request succeeded and CDDB information is available.
In this case the control can perform the following further requests passing the value of the nCdDriveIndex parameter:
|
|
|