|
Copyright © 2006 - 2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function GetCdDriveLetter (
nCdDriveIndex as Int16
) as String
|
|
[C#]
public string GetCdDriveLetter (
Int16 nCdDriveIndex
);
|
|
[C++]
public: string GetCdDriveLetter (
Int16 nCdDriveIndex
);
|
|
Parameter
|
Description
|
|
|
|
|
nCdDriveIndex
|
Number representing the zero-based index of the CD drive whose letter must be retrieved.
Installed CD drives can be enumerated using the GetCdDrivesCount method and their friendly description can be retrieved through the GetCdDriveDesc method.
|
|
Value
|
Meaning
|
|
|
|
|
Empty string
|
The value of the nCdDriveIndex parameter was out of range. Use the value returned by the GetCdDrivesCount method in order to know how many CD drive are currently installed on the system.
|
|
Valid string
|
The string containing the letter of the requested CD drive.
|