1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9 10<title>DVDGetCommandBlockStatus</title> 11</head> 12 13<body> 14 15<h1>DVDGetCommandBlockStatus</h1> 16 17<h2>Syntax</h2> 18<dl><dd><pre class="construction"> 19#include <revolution/dvd.h> 20 21s32 DVDGetCommandBlockStatus(const DVDCommandBlock* commandBlock); 22</pre></dd></dl> 23 24<h2>Arguments</h2> 25<TABLE class="arguments" border="1" > 26 <tr> 27<TH>commandBlock</TH> 28<TD>Command block to check; used for calling the DVD API by that time.</TD> 29 </tr> 30</TABLE> 31 32<h2>Return Values</h2> 33<TABLE class="arguments" border="1" > 34 <tr> 35<TH>DVD_STATE_FATAL_ERROR</TH> 36<TD>Fatal error occurred.</TD> 37 </tr> 38 <tr> 39<TH>DVD_STATE_END</TH> 40<TD>Request complete or no request.</TD> 41 </tr> 42 <tr> 43<TH>DVD_STATE_BUSY</TH> 44<TD>Request is currently processing.</TD> 45 </tr> 46 <tr> 47<TH>DVD_STATE_WAITING</TH> 48<TD>Request is entering the queue and waiting for processing.</TD> 49 </tr> 50 <tr> 51<TH>DVD_STATE_NO_DISK</TH> 52<TD>No disk in the drive.</TD> 53 </tr> 54 <tr> 55<TH>DVD_STATE_WRONG_DISK</TH> 56<TD>Wrong disk in the drive.</TD> 57 </tr> 58 <TR> 59<TH>DVD_STATE_MOTOR_STOPPED</TH> 60<TD>Motor stopped.</TD> 61 </TR> 62 <TR> 63<TH>DVD_STATE_CANCELED</TH> 64<TD>Request canceled.</TD> 65 </TR> 66 <TR> 67<TH>DVD_STATE_RETRY</TH> 68<TD>Retry error occurred.</TD> 69 </TR> 70</TABLE> 71<P><strong>Note:</strong> Controller input wait state will not be supported in the near term.</P> 72<P><B>Note:</B> The GameCube error messages <CODE>DVD_STATE_COVER_OPEN</CODE> and <CODE>DVD_STATE_IGNORED</CODE> were deleted.</P> 73 74<H2>Description</H2> 75<P>Checks the command block status.</P> 76 77<h2>See Also</h2> 78<p class="reference"> 79<a href="DVDGetFileInfoStatus.html">DVDGetFileInfoStatus</a>, 80<a href="DVDGetDriveStatus.html">DVDGetDriveStatus</a> 81</p> 82 83<H2>Revision History</H2> 84<P> 852006/09/19 Deleted explanation of <CODE>DVD_STATE_NO_INPUT</CODE>.<BR>2006/09/07 Added explanation of <CODE>DVD_STATE_NO_INPUT</CODE>.<BR>2006/03/01 Initial version.<BR> 86</P> 87 88<hr><p>CONFIDENTIAL</p></body> 89</html> 90