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 18<h2>C Specification</h2> 19 20<dl> 21 <dd><pre><code>#include <revolution/dvd.h></code></pre> 22 </dd> 23<dd><pre><code>s32 DVDGetCommandBlockStatus(const DVDCommandBlock* commandBlock);</code></pre> 24 </dd> 25</dl> 26 27<h2>Arguments</h2> 28<TABLE border="1" cellpadding="3" cellspacing="0.1"> 29 <tr> 30<TD width="120" bgcolor="#ffffe8"><em><strong><code>commandBlock</code></strong></em></TD> 31<TD width="520">Command block to check. Should be used by calling the DVD API in advance.</TD> 32 </tr> 33</TABLE> 34<h2>Return Values</h2> 35<TABLE border="1" cellpadding="3" cellspacing="0.1"> 36 <tr> 37<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_FATAL_ERROR</code></strong></em></TD> 38 <TD width="500"> 39Fatal error occurred.</TD> 40 </tr> 41 <tr> 42<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_END</code></strong></em></TD> 43<TD width="500">Request complete or no request.</TD> 44 </tr> 45 <tr> 46<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_BUSY</code></strong></em></TD> 47 <TD width="500"> 48Request is currently processing.</TD> 49 </tr> 50 <tr> 51<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_WAITING</code></strong></em></TD> 52<TD width="500">Request is entering the queue and waiting for processing.</TD> 53 </tr> 54 <tr> 55<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_NO_DISK</code></strong></em></TD> 56<TD width="500">No disk in the drive.</TD> 57 </tr> 58 <tr> 59<TD width="250" bgcolor="#ffffe8"><em><strong><code>DVD_STATE_WRONG_DISK</code></strong></em></TD> 60<TD width="500">Wrong disk in the drive.</TD> 61 </tr> 62 <TR> 63<TD bgcolor="#ffffe8"><em><strong><code>DVD_STATE_MOTOR_STOPPED</code></strong></em></TD> 64 <TD>Motor stopped. </TD> 65 </TR> 66 <TR> 67<TD bgcolor="#ffffe8"><em><strong><code>DVD_STATE_CANCELED</code></strong></em></TD> 68<TD>Request canceled.</TD> 69 </TR> 70 <TR> 71<TD bgcolor="#ffffe8"><em><strong><code>DVD_STATE_RETRY</code></strong></em></TD> 72<TD>Retry error occurred.</TD> 73 </TR> 74 </TABLE> 75<P><B>Note:</B> The GameCube error messages <CODE>DVD_STATE_COVER_OPEN</CODE> and <CODE>DVD_STATE_IGNORED</CODE> were deleted. </P> 76<H2>Description</H2> 77<P>Checks the command block status. </P> 78 79<h2>See Also</h2> 80 81<p><code><a href="DVDGetFileInfoStatus.html">DVDGetFileInfoStatus</a><BR> <a href="DVDGetDriveStatus.html">DVDGetDriveStatus</a></code></p> 82<H2>Revision History</H2> 83<P>03/01/2006 Initial version.</P> 84</body> 85</html> 86