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>GetCoppacsRestriction</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>::GetCoppacsRestriction</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/cfg.h> 14 15<a href="../../../nn/cfg/CTR/CfgCoppacsRestriction.html">CfgCoppacsRestriction</a> GetCoppacsRestriction( 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">Returns the restriction type. </div> 26<h2>Description</h2> 27 <div class="section"> 28<p>Gets <CODE>COPPACS</CODE> restrictions.</p><p>If the return value is <CODE>CFG_COPPACS_RESTRICTION_NONE</CODE>, <CODE>COPPACS</CODE> restrictions are not applied.<BR>If the return value is <CODE>CFG_COPPACS_RESTRICTION_NEED_PARENTAL_PIN_CODE</CODE>, canceling the Parental Controls PIN code is viewed as canceling <CODE>COPPACS</CODE> restrictions.<br />Verify the PIN code using <CODE>CheckParentalControlPinCode</CODE>.<BR>If the return value is <CODE>CFG_COPPACS_RESTRICTION_NEED_PARENTAL_AUTHENTICATION</CODE>, a jump must be made to system settings to perform <CODE>COPPACS</CODE> authentication.</p> 29 </div> 30<h2>Revision History</h2> 31 <div class="section"> 32 <dl class="history"> 33 <dt>2011/12/12</dt> 34<dd>Deleted text about COPPACS.<br /> 35 </dd> 36 <dt>2011/10/19</dt> 37<dd>Added a description specific to COPPACS.<br /> 38 </dd> 39 <dt>2011/08/30</dt> 40<dd>Initial version.<br /> 41 </dd> 42 </dl> 43 </div> 44 <hr><p>CONFIDENTIAL</p></body> 45</html>