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

CD statuscodes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:51, 21 May 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (13:27, 19 June 2008) (edit) (undo)
86.70.220.11 (Talk)

 
(One intermediate revision not shown.)
Line 8: Line 8:
| ''Constant'' || - ''Value'' || - ''Description'' | ''Constant'' || - ''Value'' || - ''Description''
|- |-
-| CD_ERROR || - -1 - Error.+| CD_ERROR || - -1 || - Error.
|- |-
-| CD_TRAYEMPTY || - 0 - The CD tray is empty.+| CD_TRAYEMPTY || - 0 || - The CD tray is empty.
|- |-
-| CD_STOPPED || - 1 - The CD is stopped.+| CD_STOPPED || - 1 || - The CD is stopped.
|- |-
-| CD_PLAYING || - 2 - The CD is playing.+| CD_PLAYING || - 2 || - The CD is playing.
|- |-
-| CD_PAUSED || - 3 - The CD is paused.+| CD_PAUSED || - 3 || - The CD is paused.
|} |}

Current revision


[edit] Definition

CD statuscodes are status codes returned by the function cd_status() , to specify the current status of a CD drive.

[edit] List

Constant - Value - Description
CD_ERROR - -1 - Error.
CD_TRAYEMPTY - 0 - The CD tray is empty.
CD_STOPPED - 1 - The CD is stopped.
CD_PLAYING - 2 - The CD is playing.
CD_PAUSED - 3 - The CD is paused.
Personal tools