1<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
5<meta http-equiv="Content-Style-Type" content="text/css" />
6<link rel="stylesheet" type="text/css" href="../../CSS/revolution.css" />
7<title>ENCGetNextCharacterWidth</title>
8</head>
9
10<body>
11
12<h1>ENCGetNextCharacterWidth</h1>
13
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/enc.h&gt;
18
19ENCResult ENCGetNextCharacterWidth(const ENCContext* context, const u8* src, u32* width);
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<TABLE class="arguments" border="1" >
24    <tr>
25<th>context</th>
26<td>Character code conversion context.</td>
27    </tr>
28    <tr>
29<th>src</th>
30<td>The source string buffer.</td>
31    </tr>
32    <tr>
33<th>width</th>
34<td>Character width for skipping the next character.</td>
35    </tr>
36</table>
37
38<h2>Return Values</h2>
39<p>
40<code>ENC_OK</code>: Normal exit.<br><code>ENC_ERR_INVALID_PARAM</code>: Invalid argument.<br><code>ENC_ERR_UNKNOWN_ENCODING</code>: Unknown character encoding.<br>
41</p>
42
43<h2>Description</h2>
44<p>Acquires the byte count of the next character to skip a non-convertible charater.</p>
45
46<h2>See Also</h2>
47<P>
48None.
49</P>
50
51<h2>Revision History</h2>
52<p>
532006/10/19 Initial version.<br>
54</p>
55
56<hr><p>CONFIDENTIAL</p></body>
57</html>