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 WebSphere Studio Homepage Builder Version 6.5.0.0 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>CARDGetEncoding</title>
10</head>
11
12<body>
13
14<h1>CARDGetEncoding</h1>
15
16<h2>C Specification</h2>
17
18<dl>
19<dd><pre><code>#include &lt;revolution/card.h&gt;</CODE></pre></dd>
20<dd><pre><CODE>s32 CARDGetEncoding(s32 chan, u16* encode);</CODE></pre></dd>
21</dl><h2>Arguments</h2>
22<TABLE border="1" cellpadding="3" cellspacing="0.1">
23  <tr>
24<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>chan</code></EM></STRONG></code></strong></em></TD>
25<TD width="520">EXI channel number.</TD>
26    </tr>
27  <tr>
28<TD width="120" bgcolor="#ffffe8"><em><strong><code><STRONG><EM><code>encode</code></EM></STRONG></code></strong></em></TD>
29<TD width="520">Pointer to u16 type variable to receive the result.<br>
30        <table border="1" cellspacing="0.1" width="500">
31          <tr>
32<td width="150"><code><code>CARD_ENCODE_SJIS</code></code></td>
33<td width="350">Japanese Shift-JIS text character encoding.&nbsp;&nbsp;&nbsp;</td>
34          </tr>
35          <tr>
36<td width="150"><code><code>CARD_ENCODE_ANSI</code></code></td>
37<td width="350">8-bit ANSI text character encoding.</td>
38          </tr>
39        </table>
40      </TD>
41    </tr>
42</TABLE>
43<h2>Return Values</h2>
44
45<p>One of the following codes:</p>
46
47<p><code>CARD_RESULT_FATAL_ERROR<br> CARD_RESULT_NOCARD<br> CARD_RESULT_BUSY<br> CARD_RESULT_READY</code></p>
48<H2>Description</H2>
49<P>Returns the text character encoding that is used by the specified Memory Card.</P>
50
51<h2>See Also</h2>
52<H2>Revision History</H2>
53<P>03/01/2006 Initial version.</P>
54</body>
55</html>
56