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>VerifySaveDataSecureValueLoosely</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../nn/Overview.html">nn</a>::<a href="../../nn/fs/Overview.html">fs</a>::VerifySaveDataSecureValueLoosely</CODE> Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14bool VerifySaveDataSecureValueLoosely( 15 <a href="../../nn_types/bit64.html">bit64</a> value 16); 17</pre> 18 </div> 19<h2>Parameters</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>in</td> 31<th>value</th> 32<td>The secure value to compare.</td> 33 </tr> </table> 34 </div> 35 <h2>Return Values</h2> 36<div class="section">Compares the value saved by the <CODE><a href="../../nn/fs/SetSaveDataSecureValue.html">SetSaveDataSecureValue</a></CODE> function with the value specified for <SPAN class="argument">value</SPAN> and returns <CODE>true</CODE> if the values are the same. If the values are different, the function returns <CODE>false</CODE>. </div> 37 <h2>Description</h2> 38 <div class="section"> 39 <p>Performs the comparison with an application-linked, 64-bit value.</p><p>For downloadable applications, gets the 64-bit value from the save region in CRT System Memory that was written by the <CODE><a href="../../nn/fs/SetSaveDataSecureValue.html">SetSaveDataSecureValue</a></CODE> function, and compares this with <CODE>value</CODE>. The save region is unique to the application that called this function. The same application always references the same save region.</p><p>On factory default systems or systems that are initialized, the function returns <CODE>TRUE</CODE> regardless of the argument value for <CODE>value</CODE>, when this function is called before <a href="../../nn/fs/SetSaveDataSecureValue.html"><CODE>SetSaveDataSecureValue</CODE></a>.</p><p>Also, this function returns <CODE>TRUE</CODE> immediately after repairs that include physically replacing the internal memory, or immediately after internal memory data is corrupted. For example, even if this function is called by using the value read from save data that was rewound by the user, it returns <CODE>TRUE</CODE>. In other words, the rewind may not be detected. In any case, if it is important to prevent rewinding of save data, use the <a href="../../nn/fs/VerifySaveDataSecureValue.html"><CODE>VerifySaveDataSecureValue</CODE></a> function instead.</p><p>When this function is called from a card application, it always returns <CODE>TRUE</CODE>.</p><p>This function cannot be used in combination with an overload that takes the mask argument of the <a href="../../nn/fs/SetSaveDataSecureValue.html"><CODE>SetSaveDataSecureValue</CODE></a> function. Use this function with overloads that take only the value argument.</p><!-- write here --></div> 40 <h2>Revision History</h2> 41 <div class="section"> 42 <dl class="history"> 43 <dt>2012/06/15</dt> 44 <dd>Initial version.<br /> 45 </dd> 46 </dl> 47 </div> 48 <hr><p>CONFIDENTIAL</p></body> 49</html>