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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>NA_LoadSharedFontTable</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11
12<H1 align="left">NA_LoadSharedFontTable <IMG src="../../image/BPT.gif" align=middle><IMG src="../../image/TWL.gif" align=middle></H1>
13
14<H2>Syntax</H2>
15<DL>
16  <DD>
17<PRE><CODE>#include &lt;twl/na.h&gt;</CODE></PRE>
18<PRE><CODE>BOOL NA_LoadSharedFontTable( void *pBuffer );</CODE></PRE>
19</DL>
20
21<H2>Arguments</H2>
22<TABLE border="1" width="100%">
23  <TBODY>
24    <TR>
25<TD width="13%"><SPAN class="argument">pBuffer</SPAN></TD>
26<TD width="87%">Work buffer that the function uses internally.</TD>
27    </TR>
28  </TBODY>
29</TABLE>
30
31<H2>Return Values</H2>
32<P>
33Returns <CODE>TRUE</CODE> if processing completed successfully.<BR>The following are possible reasons for the function to fail.
34</P>
35<ul>
36<li>The <a href="NA_InitSharedFont.html"><code>NA_InitSharedFont</code></a> function has not been called.
37<li>A <CODE>NULL</CODE> pointer is specified for <span class="argument">pBuffer</span>.
38<li>The application is not a NAND application.
39<li>There are no available file handles because they are all in use.
40<li>It is running on the Nintendo DS system.
41</ul>
42
43<H2>Description</H2>
44<P>
45Loads the management information required to load internal fonts. You must call the <a href="NA_InitSharedFont.html"><code>NA_InitSharedFont</code></a> function before this one.
46</P>
47<P>
48The buffer size passed to <span class="argument">pBuffer</span> must be the value obtained with the <a href="NA_GetSharedFontTableSize.html"><code>NA_GetSharedFontTableSize</code></a> function.
49</P>
50<P>
51This function is exclusive to NAND applications. It cannot be used by card applications.
52</P>
53
54<H2>See Also</H2>
55<P>
56</P>
57
58<H2>Revision History</H2>
59<P>
602008/10/29 Because of change to specification, deleted mention that the function can only be called once.<BR> 2008/09/16 Initial version.
61</P>
62
63<hr><p>CONFIDENTIAL</p></body>
64</HTML>