Remarks
Retrieves the URL containing one of the available CD cover pictures.
See the How to get a CD cover picture tutorial for further details.
Syntax
[Visual Basic]
Public Function GetCdCoverPictureURL (
nCdDriveIndex as Int16
nCoverSize as enumCdCoverSizes
) as String
|
|
[C#]
public string GetCdCoverPictureURL (
Int16 nCdDriveIndex,
enumCdCoverSizes nCoverSize
);
|
|
[C++]
public: string GetCdCoverPictureURL (
Int16 nCdDriveIndex,
enumCdCoverSizes nCoverSize
);
|
|
Parameter
|
Description
|
|
|
nCdDriveIndex
|
Number representing the zero-based index of the CD drive.
Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.
|
nCoverSize
|
Identifies the size of the requested CD cover picture.
Supported values are the following:
Mnemonic value
|
Numeric value
|
Meaning
|
CD_COVER_SIZE_SMALL
|
0
|
Small size (thumbnail)
|
CD_COVER_SIZE_MEDIUM
|
1
|
Medium size
|
CD_COVER_SIZE_LARGE
|
2
|
Large size
|
|
Return value
Value
|
Meaning
|
|
|
Empty string
|
An error occurred. Check the LastError property value in order to see the last error.
|
Valid string
|
The string containing the CD cover picture's URL.
|
|