This wiki is out of date, use the continuation of this wiki instead

Cd getinfo

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:37, 29 August 2008 (edit)
Sandman (Talk | contribs)
(New page: Category:functions Category:CD ==Definition== '''INT''' cd_getinfo ( <'''INT''' cdID> ) Fills the global structure CD with information about the specified CD/DVD driv...)
← Previous diff
Current revision (15:39, 29 August 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 5: Line 5:
'''INT''' cd_getinfo ( <'''INT''' cdID> ) '''INT''' cd_getinfo ( <'''INT''' cdID> )
-Fills the [[global]] [[structure]] [[CD]] with information about the specified CD/DVD drive.+Fills the [[global]] [[structure]] [[cdinfo]] with information about the specified CD/DVD drive.
Returns <code>1</code> if there is a valid CD in the drive and <code>0</code> otherwise. Returns <code>1</code> if there is a valid CD in the drive and <code>0</code> otherwise.
Line 19: Line 19:
| 0 || - Invalid CD/DVD or no CD/DVD in drive. | 0 || - Invalid CD/DVD or no CD/DVD in drive.
|- |-
-| 1 || - Valid CD (structure [[CD]] is filled successfully with information about the CD).+| 1 || - Valid CD (structure [[cdinfo]] is filled successfully with information about the CD).
|} |}

Current revision


[edit] 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.

[edit] Parameters

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

[edit] 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).


CD Functions
Cd_currtrack() • Cd_drives() • Cd_eject() • Cd_getinfo() • Cd_name() • Cd_numtracks() • Cd_pause() • Cd_play() • Cd_resume() • Cd_status() • Cd_stop() •
Personal tools