Cd getinfo

From Bennu Wiki
Jump to: navigation, search


Definition

INT cd_getinfo ( <INT cdID> )

Fills the global structure cdinfo with information about the specified CD/DVD drive.

Returns 1 if there is a valid CD in the drive and 0 otherwise.

Parameters

INT cdID - The cdID of the CD/DVD drive of which the info is wanted.

Returns

INT

0 - Invalid CD/DVD or no CD/DVD in drive.
1 - Valid CD (structure cdinfo is filled successfully with information about the CD).


Mod_cd
Globals Cdinfo
Constants CDERRORCDPAUSEDCDPLAYINGCDSTOPPEDCDTRAYEMPTY
Functions Cddrives()Cdeject()Cdgetinfo()Cdname()Cdpause()Cdplay()Cdresume()Cdstatus()Cdstop()