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>Finalize</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/cfg/Overview.html">cfg</a>::<a href="../../../nn/cfg/CTR/Overview.html">CTR</a>::Finalize</CODE> Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">#include &lt;nn/cfg.h&gt;
14
15void Finalize(
16     void
17);
18</pre>
19    </div>
20<h2>Parameters</h2>
21    <div class="section">
22<p>None.</p>
23    </div>
24<h2>Return Values</h2>
25    <div class="section">
26None.
27               </div>
28<h2>Description</h2>
29    <div class="section">
30<p>Finalizes use of the System Settings library.</p><p>After calling this function, you can no longer use the functions in the <CODE>nncfg::CTR</CODE> namespace (excluding the <CODE><a href="../../../nn/cfg/CTR/GetCountryCodeA2.html">nn::cfg::CTR::GetCountryCodeA2</a></CODE> and <CODE><a href="../../../nn/cfg/CTR/GetLanguageCodeA2.html">nn::cfg::CTR::GetLanguageCodeA2</a></CODE> functions).<br /> The function does nothing unless the <CODE><a href="../../../nn/cfg/Overview.html">cfg</a></CODE> library has been initialized.<br />If <CODE><a href="../../../nn/cfg/CTR/Initialize.html">nn::cfg::CTR::Initialize</a></CODE> has been called multiple times, you must call <CODE><a href="../../../nn/cfg/CTR/Finalize.html">nn::cfg::CTR::Finalize</a></CODE> the same number of times to finalize use of the <CODE><a href="../../../nn/cfg/Overview.html">cfg</a></CODE> library.</p><!-- write here --></div>
31<h2>Revision History</h2>
32    <div class="section">
33      <dl class="history">
34        <dt>2011/12/12</dt>
35<dd>Clarified when to finalize the cfg library and mentioned which functions can no longer be used after finalizing.<br />
36        </dd>
37        <dt>2010/05/27</dt>
38<dd>Initial version.<br />
39        </dd>
40      </dl>
41    </div>
42  <hr><p>CONFIDENTIAL</p></body>
43</html>