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>InitializeParameter</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/phtsel/Overview.html">phtsel</a>::<a href="../../../nn/phtsel/CTR/Overview.html">CTR</a>::InitializeParameter</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void InitializeParameter( 15 <a href="../../../nn/phtsel/CTR/Parameter/Overview.html">Parameter</a> & parameter 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>out</td> 31<th>parameter</th> 32<td>Parameter structure initialized to its default values.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36 <div class="section"> 37None. 38 </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>Initializes a parameter structure to its default values.</p><p>You must always initialize the <CODE><a href="../../../nn/phtsel/CTR/Parameter/Overview.html">nn::phtsel::CTR::Parameter</a></CODE> structure using this function before using the structure.</p><p>This function sets the <CODE>config</CODE> member variables of the <CODE><a href="../../../nn/phtsel/CTR/Parameter/Overview.html">nn::phtsel::CTR::Parameter</a></CODE> structure to the values shown below.</p><pre><code> 42 config.enableSoftReset = false 43 config.enableHomeButton = true 44 config.version = VERSION 45</code></pre><p>The <CODE>input</CODE> and <CODE>output</CODE> member variables return the following values after initialization.</p><pre><code> 46 config.input.GetSecStart() => GetMinSeconds() 47 config.input.GetSecEnd() => GetMaxSeconds() 48 config.input.GetImgKindBit() => IMAGE_KIND_BIT_PICTURE 49 config.input.GetShootTypeBit() => SHOOTING_TYPE_BIT_DEFAULT 50 config.input.GetDisTypeBit() => DISTINCTION_TYPE_BIT_DEFAULT 51 config.input.GetScreenShotType() => SCREEN_SHOT_TYPE_ALL 52 config.input.GetFaceType() => FACE_TYPE_ALL 53 config.input.GetMinFaceNum() => 0 54 config.input.GetMaxFaceNum() => MAX_FACE_INFO_NUM 55 config.input.GetTitleUniqueId() => TITLE_UNIQUE_ID_ERROR 56 config.input.GetTitleUniqueIdTbl() => array filled by TITLE_UNIQUE_ID_ERROR 57 config.input.GetTitleUniqueIdNum() => 0 58 config.input.GetDistributeType() => DISTRIBUTE_TYPE_ALL 59 config.input.GetThumbnailSize() => ST_SIZE_DEFAULT 60 config.input.GetSoundEnable() => true 61 config.input.GetMessage() => L"" 62 63 config.output.GetReturnCode() => RETURN_CODE_UNKNOWN 64 config.output.GetValue() => array filled by L"\0" 65 config.output.GetValueLen() => 0 66 </code></pre></div> 67<h2>Revision History</h2> 68 <div class="section"> 69 <dl class="history"> 70 <dt>2011/08/24</dt> 71<dd>Initial version.<br /> 72 </dd> 73 </dl> 74 </div> 75 <hr><p>CONFIDENTIAL</p></body> 76</html> 77