Tao.Sdl SDK Documentation |
|
Sdl.SDL_CDName Method
Returns a human-readable, system-dependent identifier for the CD-ROM.
[Visual Basic]
Public Shared Function SDL_CDName( _
ByVal
drive As
Integer _
) As
String
[C#]
public static
string SDL_CDName(
int drive);
Parameters
-
drive
-
Return Value
Returns a human-readable, system-dependent identifier for the CD-ROM.
Remarks
Drive is the index of the drive. Drive indices start to 0 and end at SDL_CDNumDrives()-1.
Binds to C-function in SDL_cdrom.h
const char *SDL_CDName(int drive);
Example
Example: "/dev/cdrom" "E:" "/dev/disk/ide/1/master"
See Also
Sdl Class | Tao.Sdl Namespace | SDL_CDNumDrives