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>NCDHasEnabledNetworkConfig</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8</HEAD> 9<BODY> 10<H1>NCDHasEnabledNetworkConfig</H1> 11 12<H2>Syntax</H2> 13<DL> 14 <DD><PRE><CODE>#include <revolution/ncd.h></CODE></PRE> 15 <DD><PRE><CODE>BOOL NCDHasEnabledNetworkConfig( void );</CODE></PRE> 16</DL> 17 18<H2>Description</H2> 19<P> 20Determines whether any network settings already configured and marked as "enabled" are saved in Wii console NAND memory.<BR>Normally, this function returns its results quickly; however, depending on the firmware state, it could be blocked internally for as long as 60 seconds. 21</P> 22<P>Determine the return value from this function and display an error code to the effect of "No enabled network settings have been saved" when canceling a network connection explicitly requested by the user.<br> Specifically, the error code has a current value of <CODE>50299</CODE>, but always use the most recent <I>Wii Network Error Code List</I> to confirm this. </P> 23 24 25<H2>Arguments</H2> 26<P>None.</P> 27 28<h2>Return Values</h2> 29<P> 30Returns <CODE>TRUE</CODE> if one or more enabled network settings are stored in Wii console NAND memory, and <CODE>FALSE</CODE> otherwise.<BR>Although <CODE>FALSE</CODE> is also returned when the function call fails internally or the 60-second timeout has been exceeded, you may show the same error code in these cases. 31</P> 32 33<H2>See Also</H2> 34<P> 35None. 36</P> 37 38<H2>Revision History</H2> 39<P> 402009/01/16 Changed the description. <BR> 2008/12/22 Changed the description. <BR>2008/12/10 Changed the error code value from <CODE>50200</CODE> to <CODE>50299</CODE>.<BR>2008/01/22 Initial version. 41</P> 42 43<hr><p>CONFIDENTIAL</p></body> 44</HTML>