Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SDL_CDOpen(3)
Edit
PageHistory
Diff
Info
LikePages
SDL_CDOpen !!!SDL_CDOpen NAME SYNOPSIS DESCRIPTION EXAMPLES SEE ALSO ---- !!NAME SDL_CDOpen- Opens a CD-ROM drive for access. !!SYNOPSIS __#include __ __SDL_CD *SDL_CDOpen__(__int drive__); !!DESCRIPTION Opens a CD-ROM drive for access. It returns a __SDL_CD__ structure on success, or __NULL__ if the drive was invalid or busy. This newly opened CD-ROM becomes the default CD used when other CD functions are passed a __NULL__ CD-ROM handle. Drives are numbered starting with 0. Drive 0 is the system default CD-ROM. !!EXAMPLES SDL_CD *cdrom; int cur_track; int min, sec, frame; SDL_Init(SDL_INIT_CDROM); atexit(SDL_Quit); /* Check for CD drives */ if(!SDL_CDNumDrives()){ /* None found */ fprintf(stderr, !!SEE ALSO __SDL_CD__, __SDL_CDtrack__, __SDL_CDClose__ ----
One page links to
SDL_CDOpen(3)
:
SDLManPages
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.