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>NCDSetIfConfig</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NCDSetIfConfig</H1>
11
12<H2>C Specification</H2>
13<DL>
14  <DD><PRE><CODE>#include &lt;revolution/ncd.h&gt;</CODE></PRE>
15  <DD><PRE><CODE>s32     NCDSetIfConfig( const <A href="NCDIfConfig.html">NCDIfConfig</A>* ifconfig );</CODE></PRE>
16</DL>
17
18<H2>Description</H2>
19<P>
20Temporarily changes the network interface-related settings. These temporary changes are not reflected in the network settings saved in the Wii console NAND memory.<BR><BR>No modifications can be made when the network interface is in use after calling the <CODE>SOStartup</CODE> function and others. Call this function after exiting the libraries that are using the network interface.
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 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>ifconfig</strong></em></code></TD>
31    <TD width="520">
32Pointer to the network interface settings structure.
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 meaning of negative values.
40</P>
41
42<H2>See Also</H2>
43<P>
44<CODE><A href="NCDGetCurrentIfConfig.html">NCDGetCurrentIfConfig</A></CODE>
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/14 Added 'See Also.' <BR>2006/08/09 Initial version.
50</P>
51
52<hr><p>CONFIDENTIAL</p></body>
53</HTML>