1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>OS_InitChina</TITLE> 8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">OS_InitChina <img src="../../image/NTR.gif" align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <nitro/os.h></CODE></PRE> 16 <PRE><CODE>void OS_InitChina( const char** isbn ); 17 </CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<table border="1" width="100%"> 21 <tbody> 22 <TR> 23<TD width="20%" rowspan="5"><CODE>isbn</CODE></TD> 24<TD colspan="4">Four strings for the ISBN that is displayed on the Health and Safety screen. The format of the strings is shown below. Characters other than numbers or a dash will be handled as a space.</TD> 25 </TR> 26 <TR> 27 <TD width="5%"><CENTER>0</CENTER></TD> 28<TD width="10%"><CODE>char[ 13 ]</CODE></TD> 29 <TD width="20%"><CODE>"*-******-**-*"</CODE></TD> 30<TD width="45%">ISBN Hao Ma (Chinese transliteration)</TD> 31 </TR> 32 <TR> 33 <TD><CENTER>1</CENTER></TD> 34<TD><CODE>char[ 12 ]</CODE></TD> 35 <TD><CODE>"***-****-***"</CODE></TD> 36<TD>He Tong Deng Ji Hao (Chinese transliteration)</TD> 37 </TR> 38 <TR> 39 <TD><CENTER>2</CENTER></TD> 40<TD><CODE>char[ 4 ]</CODE></TD> 41 <TD><CODE>"****"</CODE></TD> 42<TD>Xin Chu Yin Guan (Chinese transliteration) (this information is displayed on the left side)</TD> 43 </TR> 44 <TR> 45 <TD><CENTER>3</CENTER></TD> 46<TD><CODE>char[ 4 ]</CODE></TD> 47 <TD><CODE>"****"</CODE></TD> 48<TD>Xin Chu Yin Guan (Chinese transliteration) (this information is displayed on the right side)</TD> 49 </TR> 50 </tbody> 51</table> 52 53<H2>Return Values</H2> 54<P>None.</P> 55 56<H2>Description</H2> 57<P>Initializes the system in the same way as the <A href="OS_Init.html"><CODE>OS_Init</CODE></A> function and then confirms hardware launch restrictions.<BR>If an application designed for China is launched on a DS unit that is not localized for China, the launch of the application will be restricted and control will not return from this function. If an application designed for China is launched properly on a Chinese-market DS system, this function displays the health and safety cautions screen and informs the user of the mandatory information, such as the ISBN number. To make an application for China, you must use this function instead of the <A href="OS_Init.html"><CODE>OS_Init</CODE></A> function and define accompanying information in the ROM image that indicates that the application has Chinese-language support. For more information, see <B>Description</B> in <A href="../../tools/makerom.html"><CODE>makerom</CODE></A>. For more information about system initialization, see <B>Description</B> for the <A href="OS_Init.html"><CODE>OS_Init</CODE></A> function. 58</P> 59<H2>See Also</H2> 60<P><A href="OS_Init.html"><CODE>OS_Init</CODE></A> 61</P> 62<H2>Revision History</H2> 63<P> 642005/05/14 Added to <B>Description</B>.<BR>2005/04/25 Initial version. 65</P> 66<hr><p>CONFIDENTIAL</p></body> 67</HTML>