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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/wpad.h&gt;
19
20#define WPAD_STATE_DISABLED          0
21#define WPAD_STATE_ENABLING          1
22#define WPAD_STATE_ENABLED           2
23#define WPAD_STATE_SETUP             3
24#define WPAD_STATE_DISABLING         4
25
26s32 WPADGetStatus( void );
27</pre></dd></dl>
28
29<h2>Arguments</h2>
30<p>None.</p>
31
32<h2>Return Values</h2>
33<p>One of the <code>WPAD_STATE_*</code>.</p>
34
35<H2>Description</H2>
36<p>
37Gets the operational status of the library. Each status is as follows.
38</p>
39
40<TABLE class="arguments" border="1" >
41  <tbody>
42    <tr>
43<th>WPAD_STATE_DISABLED</th>
44<td>Wireless functionality is halted.</td>
45    </tr>
46    <tr>
47<th>WPAD_STATE_ENABLING</th>
48<td>The status between calling the <a href="./WPADInit.html"><CODE>WPADInit</CODE></a> function and wireless functionality becomes enabled.</td>
49    </tr>
50    <tr>
51<th>WPAD_STATE_ENABLED</th>
52<td>Wireless functionality is running.</td>
53    </tr>
54    <tr>
55<th>WPAD_STATE_SETUP</th>
56<td>Wireless functionality is initialized. Ensure that the game application calls no other WPAD functions until this status is achieved.</td>
57    </tr>
58    <tr>
59<th>WPAD_STATE_DISABLING</th>
60<td>State indicating that library is being stopped inside a reset/shutdown process.</td>
61    </tr>
62  </tbody>
63</table>
64
65<h2>See Also</h2>
66<p class="reference">
67<a href="./WPADInit.html">WPADInit</a>
68</p>
69
70<H2>Revision History</H2>
71<P>
722008/04/16 Deleted the <CODE>WPADShutdown</CODE> and <CODE>WPADReconnect</CODE> functions from <B>See Also</B>.<br>2006/10/23 Revised the description of <CODE>WPAD_STATE_DISABLING</CODE>.<br>2006/09/06 Added a description for the <CODE>WPADReconnect</CODE> function.<br>2006/06/19 Initial version.<br>
73</P>
74
75<hr><p>CONFIDENTIAL</p></body>
76</html>