1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>GetConnectResult</title> 8 </head> 9 <body> 10<h1><CODE>nn::ac::CTR::GetConnectResult</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nn/Result/Overview.html">Result</a> GetConnectResult(); 15</pre> 16 </div> 17<h2>Arguments</h2> 18 <div class="section"> 19<p>None.</p> 20 </div> 21<h2>Return Values</h2> 22<div class="section">The result.<br /> <br /> 23 <table class="arguments"> 24 <thead> 25 <tr> 26<th>Value</th> 27<td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31<th><CODE>ResultLanConnected</CODE></th> 32<td>Successfully connected to a LAN.</td> 33 </tr> 34 <tr> 35<th><CODE>ResultWanConnected</CODE></th> 36<td>Successfully connected to a WAN.</td> 37 </tr> 38 <tr> 39<th><CODE>ResultProcessing</CODE></th> 40<td>Connection has yet to complete.</td> 41 </tr> 42 <tr> 43<th><CODE>ResultNotFoundAccessPoint</CODE></th> 44<td>Unable to find an access point that could be connected to.</td> 45 </tr> 46 <tr> 47<th><CODE>ResultCanceled</CODE></th> 48<td>Canceled while a connection was being processed.</td> 49 </tr> 50 <tr> 51<th><CODE>ResultAlreadyConnectUnsupportAp</CODE></th> 52<td>Connecting to an unusable AP.</td> 53 </tr> 54 <tr> 55<th><CODE>ResultWifiOff</CODE></th> 56<td>Cannot use a network because the system is in "flight mode."</td> 57 </tr> 58 <tr> 59<th><CODE>ResultFailedScan</CODE></th> 60<td>Failed scan.</td> 61 </tr> 62 <tr> 63<th><CODE>ResultConflictIpAddress</CODE></th> 64<td>Conflicting IP address.</td> 65 </tr> 66 <tr> 67<th><CODE>ResultFailedDhcp</CODE></th> 68<td>DHCP failure.</td> 69 </tr> 70 <tr> 71<th><CODE>ResultInvalidDns</CODE></th> 72<td>Name resolution failure.</td> 73 </tr> 74 <tr> 75<th><CODE>ResultInvalidProxy</CODE></th> 76<td>Proxy failure.</td> 77 </tr> 78 <tr> 79<th><CODE>ResultFailedConnTest</CODE></th> 80<td>Failed Internet connection test.</td> 81 </tr> 82 <tr> 83<th><CODE>ResultFailedHotspotAuthentication</CODE></th> 84<td>Failed hotspot authentication.</td> 85 </tr> 86 <tr> 87<th><CODE>ResultFailedHotspotConntest</CODE></th> 88<td>Passed hotspot authentication and then failed an Internet connection test.</td> 89 </tr> 90 <tr> 91<th><CODE>ResultOutOfMemory</CODE></th> 92<td>Failed to allocate memory.</td> 93 </tr> 94 <tr> 95<th><CODE>ResultUnsupportAuthAlgorithm</CODE></th> 96<td>Could not connect to an access point because it used an unsupported encryption scheme.</td> 97 </tr> 98 <tr> 99<th><CODE>ResultDenyUsbAp</CODE></th> 100<td>Access to a Nintendo Wi-Fi USB Connector was denied.</td> 101 </tr> 102 <tr> 103<th><CODE>ResultUnsupportPlace</CODE></th> 104<td>Could not connect because the network is unusable from the current location.</td> 105 </tr> 106 <tr> 107<th>A value other than the above.</th> 108<td>Failed for reasons other than those given above.</td> 109 </tr> 110 </table> </div> 111<h2>Description</h2> 112 <div class="section"> 113<p>Gets the processing results after establishing an asynchronous automatic connection.</p><p>When you have connected using the <a href="../../../nn/ac/CTR/ConnectAsync.html"><CODE>ConnectAsync</CODE></a> function and the <br /><a href="../../../nn/os/Event/Overview.html"><CODE>nn::os::Event</CODE></a> is signaled, use this function to check the results.<br /></p><!-- write here --></div> 114<h2>Revision History</h2> 115 <div class="section"> 116 <dl class="history"> 117 <dt>2010/06/14</dt> 118<dd>Initial version.<br /> 119 </dd> 120 </dl> 121 </div> 122 <hr><p>CONFIDENTIAL</p></body> 123</html>