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 http-equiv="Content-Style-Type" content="text/css"> 6<TITLE>NCDWriteConfig</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NCDWriteConfig</H1> 11 12<H2>C Specification</H2> 13<DL> 14 <DD><PRE><CODE>#include <revolution/ncd.h></CODE></PRE> 15 <DD><PRE><CODE>s32 NCDWriteConfig( const <A href="NCDConfig.html">NCDConfig</A>* config );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Network settings are written to the Wii console NAND memory. The setting values used by this function are the default network settings from when the console is launched. 21</P> 22 23<P> 24<font color="red">This function is designed for developmental purposes and must not be used in retail products. Make sure there this function is not linked in the commercial version of the ROM.</font> 25</P> 26 27<H2>Arguments</H2> 28<TABLE border="1" cellpadding="3" cellspacing="0.1"> 29 <TR> 30 <TD width="120" bgcolor="#ffffe8"><code><em><strong>config</strong></em></code></TD> 31 <TD width="520"> 32Specifies the buffer in which the write information is stored. 33 </TD> 34 </TR> 35</TABLE> 36 37<h2>Return Values</h2> 38<P> 39Returns 0 if successful; otherwise, returns a negative value. See <A href="NCDResult.html">NCD API Error Values</A> for the meanings of negative values. 40</P> 41 42<H2>See Also</H2> 43<P> 44<A href="NCDReadConfig.html"><CODE>NCDReadConfig</CODE></A> 45</P> 46 47<H2>Revision History</H2> 48<P> 492007/08/01 Standardized terminology.<BR>2007/06/21 Noted that this function is for development use.<BR>2006/08/11 Initial version. 50</P> 51 52<hr><p>CONFIDENTIAL</p></body> 53</HTML>