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>PrepareToCloseApplication</title> 8 </head> 9 <body> 10<h1><CODE>nn::applet::CTR::PrepareToCloseApplication</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nn/Result/Overview.html">Result</a> PrepareToCloseApplication( 15 void 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21<p>None.</p> 22 </div> 23<h2>Return Values</h2> 24<div class="section">Returns the function's execution result. Returns one of the <a href="../../../nn/Result/Overview.html"><CODE>Result</CODE></A> values listed below. <br /> 25 <table class="arguments"> 26 <thead> 27 <tr> 28<th>Value</th> 29<td>Description</td> 30 </tr> 31 </thead> 32 <tr> 33<th><CODE>ResultSuccess</CODE></th> 34<td>Process was successful.</td> 35 </tr> 36 </table> </div> 37<h2>Description</h2> 38 <div class="section"> 39<p>Prepares to exit a program.</p><!-- write here --><P> 40This function loads the relevant data if the data has not been loaded when control transitions to the system side such as the HOME Menu. 41</P><P> 42Then call the <a href="../../../nn/applet/CTR/CloseApplication.html"><CODE>nn::applet::CTR::CloseApplication</CODE></a> function after this one to exit the program. 43</P><P> 44This function always succeeds. You do not need to check its return value. 45</P></div> 46<h2>Revision History</h2> 47 <div class="section"> 48 <dl class="history"> 49 <dt>2011/02/24</dt> 50<dd>Revised a description of the return value. 51 </dd> 52 <dt>2010/12/01</dt> 53<dd>Added description of failure.<br /> 54 </dd> 55 <dt>2010/11/10</dt> 56<dd>Initial version.<br /> 57 </dd> 58 </dl> 59 </div> 60 <hr><p>CONFIDENTIAL</p></body> 61</html> 62