1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<TITLE>CARDSetIconAddress</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>CARDSetIconAddress</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 CARDSetIconAddress(stat, addr)     ((stat)-&gt;iconAddr = (u32)(addr))</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>stat</CODE></EM></STRONG></CODE></STRONG></EM></TD>
24<TD width="520">Pointer to a <a href="CARDStat.html"><code>CARDStat</code></a> structure.</TD>
25    </TR>
26    <TR>
27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE><EM><STRONG><CODE>addr</CODE></STRONG></EM></CODE></STRONG></EM></TD>
28<TD width="520">Offset from the starting point in memory.</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32<H2>Return Values</H2>
33<P>None.</P>
34<H2>Description</H2>
35<P>This function sets the banner and icon offset to the <code><a href="CARDStat.html">CARDStat</a></code> structure. If there is a banner, the offset must be set to the banner.&nbsp;Icons must directly follow a banner in memory space.&nbsp;If there is no banner, <font face="Courier New"><em><strong>addr</strong></em></font> must be set to the starting point of the icons.</P>
36<P><strong>Note:</strong> <em><strong><CODE>addr</CODE></strong></em> must be set to <code>0xffffffff</code> or to a value less than <code>CARD_READ_SIZE</code>. At least one icon is required in a game file.</P>
37<P><STRONG>Note:</STRONG>
38This function is provided for debugging. Do not use in programs.</P>
39<H2>See Also</H2>
40<H2>Revision History</H2>
41<P>2006/03/01 Initial version.</P>
42<hr>
43<P>CONFIDENTIAL</p>
44</BODY>
45</HTML>