Remarks
Given an audio track number, retrieves the relative file pathname.
The total number of available CD drives can be obtained using the GetCdDrivesCount method.
The total number of available audio tracks on the given CD can be obtained using the GetCdNumTracks method.
Syntax
[Visual Basic]
Public Function GetCdTrackPathname (
nDriveIndex as Int16,
nTrackIndex as Int16
) as String
|
|
[C#]
public string GetCdTrackPathname (
Int16 nDriveIndex,
Int16 nTrackIndex
);
|
|
[C++]
public: string GetCdTrackPathname (
Int16 nDriveIndex,
Int16 nTrackIndex
);
|
|
Parameter
|
Description
|
|
|
nDriveIndex
|
Number representing the zero-based index of the involved CD drive
|
nTrackIndex
|
Number representing the one-based index of the CD audio track
|
Return value
Value
|
Meaning
|
|
|
Empty string
|
An error occurred (see the LastError property for further error details)
|
Valid string
|
The string containing the CD track file pathname.
|
|