1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<TITLE>CARDGetIconFormat</TITLE>
5<META content="text/html; charset=windows-1252" http-equiv="Content-Type">
6<META content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows" name="GENERATOR">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</HEAD>
10<BODY>
11<H1>CARDGetIconFormat</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>#define CARDGetIconFormat(stat, n) \
18(((stat)-&gt;iconFormat &gt;&gt; (2 * (n))) &amp; CARD_STAT_ICON_MASK)</PRE>
19</DL>
20<H2>Arguments</H2>
21<TABLE border="1" cellpadding="3" cellspacing="0">
22  <TBODY>
23    <TR>
24<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><CODE>stat</CODE></EM></STRONG></CODE></STRONG></EM></TD>
25<TD width="520">Pointer to a <a href="CARDStat.html"><code>CARDStat</code></a> structure.</TD>
26    </TR>
27    <TR>
28<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><STRONG><EM><CODE>n</CODE></EM></STRONG></CODE></STRONG></EM></TD>
29<TD width="520">Sequence number of the icon animation.</TD>
30    </TR>
31  </TBODY>
32</TABLE>
33<H2>Return Values</H2>
34<P>One of the following codes:</P>
35<TABLE border="1" cellpadding="3" cellspacing="0">
36  <TBODY>
37    <TR>
38<TD>Result Code</TD>
39<TD>Format</TD>
40    </TR>
41    <TR>
42<TD><CODE><CODE>CARD_STAT_ICON_NONE</CODE></CODE></TD>
43<TD>Icon is not used (at least one icon must be used).</TD>
44    </TR>
45    <TR>
46<TD><CODE><CODE>CARD_STAT_ICON_RGB5A3</CODE></CODE></TD>
47<TD>RGB5A3 format</TD>
48    </TR>
49    <TR>
50<TD><CODE><CODE>CARD_STAT_ICON_C8</CODE></CODE></TD>
51<TD>C8 format</TD>
52    </TR>
53  </TBODY>
54</TABLE>
55<H2>Description</H2>
56<P>Get the icon format of the Memory Card from the <a href="CARDStat.html"><code>CARDStat</code></a> structure.</P>
57<H2>See Also</H2>
58<H2>Revision History</H2>
59<P>2006/03/01 Initial version.</P><hr>
60<P>CONFIDENTIAL</p>
61</BODY>
62</HTML>