1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>OS_IsParentalControledApp</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">OS_IsParentalControledApp <IMG src="../../image/TWL.gif" align="middle"></h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <twl/os.h></CODE><BR> 20 <BR> 21 <CODE>BOOL OS_IsParentalControledApp(u8* appRatingInfo);</CODE></dd> 22</dl> 23<h2>Arguments</h2> 24<TABLE border="1" width="100%"> 25 <TBODY> 26 <TR> 27 <TD width="33%"><EM><STRONG>appRatingInfo</STRONG></EM></TD> 28 <TD width="67%">Pointer to the rating info. 29 (The 16 bytes embedded at offset 0x2F0 in the application's ROM header contain the rating information.)</TD> 30 </TR> 31 </TBODY> 32</TABLE> 33 34<h2>Return Values</h2> 35<p>If TRUE, indicates that the Parental Controls should be applied and that the application should prompt the user to enter the PIN.</p> 36<p>If FALSE, indicates that the application can be booted without applying any restrictions.</p> 37 38<H2>Description</H2> 39<p>Determines whether Parental Controls should be applied when an application is started up.</P> 40<p><EM><STRONG>appRatingInfo</STRONG></EM> is a pointer to the rating information, which is embedded at offset <CODE>0x2F0</CODE> within the application ROM's header. </P> 41<h2>See Also</h2> 42<p><CODE><a href="OSOwnerInfo.html">OSOwnerInfoEx</a></CODE></p> 43 44<H2>Revision History</H2> 45<P>2008/09/02 Initial version.</P> 46<hr><p>CONFIDENTIAL</p></body> 47</html> 48