1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<TITLE>CARDSetBannerFormat</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>CARDSetBannerFormat</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>#define CARDSetBannerFormat(stat, f)    \
18((stat)-&gt;bannerFormat = (u8) (((stat)-&gt;bannerFormat &amp;~CARD_STAT_BANNER_MASK)|(f)))</CODE></PRE>
19</DL>
20<H2>Arguments</H2>
21<TABLE border="1" cellpadding="3" cellspacing="0.1">
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 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>f</CODE></EM></STRONG></CODE></STRONG></EM></TD>
29<TD width="520">Banner format of Memory Card. Specify the following for each case. <BR>If there is no banner: <code>CARD_STAT_BANNER_NONE</code><BR>For  <code>RGB5A3</code>: <code> CARD_STAT_BANNER_RGB5A3</code><BR><code>C8</code>: <code>CARD_STAT_BANNER_C8</code></TD>
30    </TR>
31  </TBODY>
32</TABLE>
33<H2>Return Values</H2>
34<P>None.</P>
35<H2>Description</H2>
36<P>Set the memory card banner format to the <a href="CARDStat.html"><code>CARDStat</code></a> structure.</P>
37<P><STRONG><B>Note:</B></STRONG> This function is provided for debugging purposes. Applications should not use this function.</P>
38<H2>See Also</H2>
39<H2>Revision History</H2>
40<P>
4103/01/2006 Initial version.</P>
42<hr><p>CONFIDENTIAL</p></body>
43</HTML>