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<!-- �^�C�g���� --> 11<TITLE>SCCheckStatus</TITLE> 12 13</HEAD> 14 15<BODY> 16 17 18<!-- �^�C�g���� --> 19<H1>SCCheckStatus</H1> 20 21 22 23<H2>C Specification</H2> 24<pre><code>#include <revolution/sc.h> 25 26u32 SCCheckStatus(void); 27</code></pre> 28 29 30<H2>Arguments</H2> 31<P>None.</P> 32 33<H2>Return Values</H2> 34<P>One of the <code>SC_STATUS_*</code> values.</P> 35 36<H2>Description</H2> 37<p> 38This functions checks the status of background processes while the SC library is executing or checks the result of the last background process that executed. 39</p> 40 41<p> 42The return value of this function is only useful after calling <a href="SCInit.html"><code>SCInit()</code></a> or <a href="SCFlush.html"><code>SCFlush*()</code></a>. 43</p> 44 45<TABLE border="1" cellpadding="3" cellspacing="0.1"> 46 <TBODY> 47 <TR> 48<TD width="30%" valign="middle" bgcolor="#C0C0C0">Return Values</TD> 49<TD width="*" valign="middle" bgcolor="#C0C0C0">State or result</TD> 50 </TR> 51 <TR> 52<TD width="30%"><code>SC_STATUS_OK</code></TD> 53<TD width="*" >The last executed background process succeeded.<br>No background process is currently executing.<br></TD> 54 </TR> 55 <TR> 56<TD width="30%"><code>SC_STATUS_BUSY</code></TD> 57<TD width="*" >A background process is currently executing.</TD> 58 </TR> 59 <TR> 60<TD width="30%"><code>SC_STATUS_ERROR</code></TD> 61<TD width="*" >The last executed background process failed.<br>No background process is currently executing.<br></TD> 62 </TR> 63 </TBODY> 64</TABLE> 65 66<H2>See Also</H2> 67<p> 68<a href="SCInit.html"><code>SCInit</code></a><br> <a href="SCFlush.html"><code>SCFlush*</code></a> 69</p> 70 71<H2>Revision History</H2> 72<P>05/29/2006 Initial version.</P> 73 74</BODY> 75</HTML> 76