1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <title>PreloadKeyboardApplet</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/swkbd/Overview.html">swkbd</a>::<a href="../../../nn/swkbd/CTR/Overview.html">CTR</a>::PreloadKeyboardApplet</CODE> Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14void PreloadKeyboardApplet();
15</pre>
16    </div>
17    <h2>Arguments</h2>
18    <div class="section">
19      <p>None.</p>
20    </div>
21    <h2>Return Values</h2>
22    <div class="section">
23                None.
24               </div>
25    <h2>Description</h2>
26    <div class="section">
27      <p>Preloads the software keyboard applet.</p><p>If you preload the software keyboard applet, it will start up faster than it will otherwise. If you do so, however, you must take the following into account.</p><p>Preloading is not complete after this function returns. When you use this function to preload the applet, before you can call the <a href="../../../nn/swkbd/CTR/StartKeyboardApplet.html"><CODE>nn::swkbd::CTR::StartKeyboardApplet</CODE></a> function you must always either call the <a href="../../../nn/swkbd/CTR/WaitForPreloadKeyboardApplet.html"><CODE>nn::swkbd::CTR::WaitForPreloadKeyboardApplet</CODE></a> function or confirm that preloading is complete with the <a href="../../../nn/swkbd/CTR/IsRegisteredKeyboardApplet.html"><CODE>nn::swkbd::CTR::IsRegisteredKeyboardApplet</CODE></a> function.</p><p>Also note that if a library applet other than the software keyboard applet has been preloaded, you must cancel that preload before calling this function.</p><p>Applications must not be closed while the applet is preloaded. If you preloaded the applet, you must always call the <CODE><a href="../../../nn/swkbd/CTR/CancelPreloadKeyboardApplet.html">nn::swkbd::CTR::CancelPreloadKeyboardApplet</a></CODE> function to cancel the preload before closing the application.</p><p>Preloading of an applet can be canceled by calling <a href="../../../nn/applet/CTR/ProcessHomeButton.html"><CODE>nn::applet::CTR::ProcessHomeButton</CODE></a> to move to the HOME Menu.</p></div>
28    <h2>Revision History</h2>
29    <div class="section">
30      <dl class="history">
31        <dt>2011/03/18</dt>
32        <dd>Added note about speeding up the startup time of the software keyboard applet by preloading it.<br /> Added note that applications must not be closed while there are any preloaded applets.<br />
33        </dd>
34        <dt>2011/03/01</dt>
35        <dd>Initial version.<br />
36        </dd>
37      </dl>
38    </div>
39  <hr><p>CONFIDENTIAL</p></body>
40</html>
41