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>AppletSleepCanceledCallback</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/applet/Overview.html">applet</a>::<a href="../../../nn/applet/CTR/Overview.html">CTR</a>::AppletSleepCanceledCallback</CODE> Type</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14typedef void(* nn::applet::CTR::AppletSleepCanceledCallback)(uptr arg);</pre>
15    </div>
16<h2>Description</h2>
17    <div class="section">
18<p>Function type representing a sleep cancel callback.</p><!-- write here --><P>
19<BR><B>Note:</B> The thread that calls this callback has a stack size of roughly 4 KB. Take care to avoid overflows.
20</P><P>
21Use the <CODE><a href="../../../nn/applet/CTR/SetSleepCanceledCallback.html">nn::applet::CTR::SetSleepCanceledCallback</a></CODE> function to set the callback.
22</P><P>The value specified in <span class="argument">arg</span> is passed as is when setting the callback. Use as appropriate.
23</P></div>
24<h2>Revision History</h2>
25    <div class="section">
26      <dl class="history">
27        <dt>2011/01/24</dt>
28<dd>Added description of the stack.<br />
29        </dd>
30        <dt>2010/11/29</dt>
31<dd>Initial version.<br />
32        </dd>
33      </dl>
34    </div>
35  <hr><p>CONFIDENTIAL</p></body>
36</html>
37