1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>CARDCheckEx</TITLE>
9</HEAD>
10<BODY>
11<H1>CARDCheckEx</H1>
12<H2>C Specification</H2>
13<DL>
14  <DD>
15<PRE><code>#include &lt;revolution/card.h&gt;</CODE></PRE>
16  <DD>
17<PRE><CODE>s32 CARDCheckEx(s32 chan, s32* xferBytes)<code>;</code></CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" cellpadding="3" cellspacing="0.1">
21  <TBODY>
22    <TR>
23<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><code>chan</code></EM></STRONG></CODE></STRONG></EM></TD>
24<TD width="520">EXI channel number.</TD>
25    </TR>
26    <TR>
27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><EM><STRONG><CODE>xferBytes</CODE></STRONG></EM></CODE></STRONG></EM></TD>
28<TD width="520">Bytes written to the Memory Card to repair the file system.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<H2>Return Values</H2>
33<P>One of the following codes:</P>
34<P><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_BUSY<br> CARD_RESULT_BROKEN<br> CARD_RESULT_ENCODING<br> CARD_RESULT_IOERROR<br> CARD_RESULT_READY</code></P>
35<H2>Description</H2>
36<P>Synchronously checks the Memory Card for file system consistency and repairs it if possible.</P>
37<P><b>Note:</b>The <CODE>CARDCheckEx</CODE> function can take milliseconds in CPU processing time and must not be called when the interrupt is prohibited.</P>
38<H2>See Also</H2>
39<H2>Revision History</H2>
40<P>03/01/2006 Initial version.</P>
41</BODY>
42</HTML>