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 HomePage Builder 2000 V4.0.6 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>CARDGetStatus</title> 10</head> 11 12<body> 13 14<h1>CARDGetStatus</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/card.h></CODE></pre></dd> 21<dd><pre><CODE>s32 CARDGetStatus(s32 chan, s32 fileNo, CARDStat* stat)<code>;</code></CODE></pre></dd> 22</dl><h2>Arguments</h2> 23<TABLE border="1" cellpadding="3" cellspacing="0.1"> 24 <tr> 25<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>chan</code></EM></STRONG></code></strong></em></TD> 26<TD width="520">EXI channel number.</TD> 27 </tr> 28 <tr> 29<TD width="120" bgcolor="#ffffe8"><em><strong><code><em><strong><code>fileNo</code></strong></em></code></strong></em></TD> 30<TD width="520">File entry number.</TD> 31 </tr> 32 <tr> 33<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><CODE>stat</CODE></EM></STRONG></code></strong></em></TD> 34<TD width="520">Pointer to buffer to read the file status.</TD> 35 </tr> 36</TABLE> 37<h2>Return Values</h2> 38 39<p>One of the following codes:</p> 40 41<p><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_NOFILE<br> CARD_RESULT_NOPERM<br> CARD_RESULT_BUSY<br> CARD_RESULT_READY</code></p> 42<H2>Description</H2> 43<P>Gets the file status using a file number.</P> 44 45<h2>See Also</h2> 46<P><a target="contents" href="card.html">Memory Card Functions</a>, <br> <a href="CARDStat.html"><code>CARDStat</code></a></P> 47<H2>Revision History</H2> 48<P>03/01/2006 Initial version.</P> 49</body> 50</html> 51