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 http-equiv="Content-Style-Type" content="text/css"> 7 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9 10<TITLE>SCCheckStatus</TITLE> 11 12</HEAD> 13 14<BODY> 15 16 17<H1>SCCheckStatus</H1> 18 19 20 21<H2>Syntax</H2> 22<dl><dd><pre class="construction"> 23#include <revolution/sc.h> 24 25u32 SCCheckStatus(void); 26</pre></dd></dl> 27 28 29<H2>Arguments</H2> 30<P>None.</P> 31 32<H2>Return Values</H2> 33<P>One of the <code>SC_STATUS_*</code> values.</P> 34 35<H2>Description</H2> 36<p> 37This functions checks the status of background processes while the SC library is executing or checks the result of the last background process that executed. 38</p> 39 40<p> 41The return value of this function is only useful after calling the <a href="SCInit.html"><code>SCInit</code></a> function or the <a href="SCFlush.html"><code>SCFlush*</code></a> functions. 42</p> 43 44<TABLE class="arguments" border="1" > 45 <TBODY> 46 <TR> 47<TD width="30%" valign="middle" bgcolor="#C0C0C0">Return Values</TD> 48<TD width="*" valign="middle" bgcolor="#C0C0C0">State or result</TD> 49 </TR> 50 <TR> 51<TH>SC_STATUS_OK</TH> 52<TD>The last executed background process succeeded.<br>No background process is currently executing.<br></TD> 53 </TR> 54 <TR> 55<TH>SC_STATUS_BUSY</TH> 56<TD>A background process is currently executing.</TD> 57 </TR> 58 <TR> 59<TH>SC_STATUS_ERROR</TH> 60<TD>The last executed background process failed.<br>No background process is currently executing.<br></TD> 61 </TR> 62 </TBODY> 63</TABLE> 64 65<H2>See Also</H2> 66<p class="reference"> 67<a href="SCInit.html">SCInit</a>, 68<a href="SCFlush.html">SCFlush*</a> 69</p> 70 71<H2>Revision History</H2> 72<P> 732006/05/29 Initial version.<BR> 74</P> 75 76<hr><p>CONFIDENTIAL</p></body> 77</HTML> 78