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 <code>WPAD_STATE_*</code>.</p> 40 41<H2>Description</H2> 42<p> 43Gets the operational status of library. Each status is as follows. 44 45<table border="1" cellpadding="3" cellspacing="0.1"> 46 <tbody> 47 <tr> 48<td><code>WPAD_STATE_DISABLED</code></td> 49<td>Wireless functionality is halted.</td> 50 </tr> 51 <tr> 52<td><code>WPAD_STATE_ENABLING</code></td> 53<td>The status between calling the <a href="./WPADInit.html">WPADInit</a> function and wireless functionality becomes enabled.</td> 54 </tr> 55 <tr> 56<td><code>WPAD_STATE_ENABLED</code></td> 57<td>Wireless functionality is running.</td> 58 </tr> 59 <tr> 60<td><code>WPAD_STATE_SETUP</code></td> 61<td>Wireless functionality is initialized. Ensure that the game application calls no other WPAD APIs until this status is achieved.</td> 62 </tr> 63 <tr> 64<td><code>WPAD_STATE_DISABLING</code></td> 65<td>The status between calling the <a href="./WPADShutdown.html">WPADShutdown</a> function and halting wireless functionality.</td> 66 </tr> 67 </tbody> 68</table> 69</p> 70 71<h2>See Also</h2> 72<p> 73<A href="./toc.html" target="contents"><CODE>WPAD</CODE> Functions</A><br> <a href="./WPADInit.html"><code>WPADInit</code></a><br> <a href="./WPADShutdown.html"><code>WPADShutdown</code></a> 74</p> 75 76<H2>Revision History</H2> 77<P> 7806/19/2006 Initial version. 79</P> 80 81<hr> 82<P>CONFIDENTIAL</p> 83</BODY> 84</HTML>