1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 9<title>WPADGetStatus</title> 10</head> 11 12<body> 13 14<h1>WPADGetStatus</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20 <dd> 21<pre><code>#include <revolution/wpad.h> 22 23#define WPAD_STATE_DISABLED 0 24#define WPAD_STATE_ENABLING 1 25#define WPAD_STATE_ENABLED 2 26#define WPAD_STATE_SETUP 3 27#define WPAD_STATE_DISABLING 4 28 29s32 WPADGetStatus( void );</CODE></pre> 30 </dd> 31</dl> 32 33<h2>Arguments</h2> 34 35<p>None.</p> 36 37<h2>Return Values</h2> 38 39<p>One of the <code>WPAD_STATE_*</code>.</p> 40 41<H2>Description</H2> 42<p> 43Gets the operational status of the library. Each status is as follows. 44</p> 45 46<table border="1" cellpadding="3" cellspacing="0.1"> 47 <tbody> 48 <tr> 49<td><code>WPAD_STATE_DISABLED</code></td> 50<td>Wireless functionality is halted.</td> 51 </tr> 52 <tr> 53<td><code>WPAD_STATE_ENABLING</code></td> 54<td>The status between calling the <a href="./WPADInit.html"><CODE>WPADInit</CODE></a> function and wireless functionality becomes enabled.</td> 55 </tr> 56 <tr> 57<td><code>WPAD_STATE_ENABLED</code></td> 58<td>Wireless functionality is running.</td> 59 </tr> 60 <tr> 61<td><code>WPAD_STATE_SETUP</code></td> 62<td>Wireless functionality is initialized. Ensure that the game application calls no other WPAD functions until this status is achieved.</td> 63 </tr> 64 <tr> 65<td><code>WPAD_STATE_DISABLING</code></td> 66<td>State indicating that library is being stopped inside a reset/shutdown process.</td> 67 </tr> 68 </tbody> 69</table> 70 71<h2>See Also</h2> 72<p> 73<A href="./toc.html" target="contents">WPAD Function</A><br> <a href="./WPADInit.html"><code>WPADInit</code></a>, <a href="./WPADShutdown.html"><code>WPADShutdown</code></a>, <a href="./WPADReconnect.html"><code>WPADReconnect</code></a><br> 74</p> 75 76<H2>Revision History</H2> 77<P> 782006/10/23 Changed the description of WPAD_STATE_DISABLING.<br> 2006/09/06 Added a description of WPADReconnect<br> 2006/06/19 Initial version.<br> 79</P> 80 81<hr> 82<P>CONFIDENTIAL</p> 83</BODY> 84</HTML>