Tao.Sdl SDK Documentation

Sdl.SDL_CDNumDrives Method 

Returns the number of CD-ROM drives on the system.

[Visual Basic]
Public Shared Function SDL_CDNumDrives() As Integer
[C#]
public static int SDL_CDNumDrives();

Return Value

Returns the number of CD-ROM drives on the system, or -1 if SDL_Init() has not been called with the SDL_INIT_CDROM flag.

Remarks

Returns the number of CD-ROM drives on the system, or -1 if SDL_Init() has not been called with the SDL_INIT_CDROM flag.

Binds to C-function call in SDL_cdrom.h:

int SDL_CDNumDrives(void)
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_CDOpen