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="IBM WebSphere Studio Homepage Builder Version 8.0.2.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>WM_GetWirelessCounter</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WM_GetWirelessCommFlag&nbsp;<img src="../../image/BPT.gif"><img src="../../image/TWL.gif"></H1>
15<h2>Syntax</h2>
16<dl>
17  <dd><PRE><CODE>#include &lt;nitro/wm.h&gt;
18
19u8 WM_GetWirelessCommFlag( void );
20
21</CODE></PRE></dd>
22</dl>
23
24<h2>Arguments</h2>
25<P>None.</P>
26
27<h2>Return Values</h2>
28<P>Gets the current TWL wireless mode.</P>
29
30<H2>Description</H2>
31<P>Gets the TWL wireless mode that is set in the <STRONG>Wireless Communications</STRONG> item in the TWL's System Settings.
32   Because this item doesn't exist on these systems, <CODE>WM_WIRELESS_COMM_FLAG_UNKNOWN</CODE> will be returned for applications running on the Nintendo DS or DS Lite.</P>
33<P>The function can obtain the following values:</P>
34<TABLE border="1">
35  <TBODY>
36    <TR>
37      <TH>Value</TH>
38      <TH>Description</TH>
39    </TR>
40    <TR>
41      <TD><CODE>WM_WIRELESS_COMM_FLAG_OFF</CODE></TD>
42      <TD>Disabled</TD>
43    </TR>
44    <TR>
45      <TD><CODE>WM_WIRELESS_COMM_FLAG_ON</CODE></TD>
46      <TD>Enabled</TD>
47    </TR>
48    <TR>
49      <TD><CODE>WM_WIRELESS_COMM_FLAG_UNKNOWN</CODE></TD>
50      <TD> Unable to determine, because the application is running on a Nintendo DS or DS Lite</TD>
51    </TR>
52  </TBODY>
53</TABLE>
54
55
56<H2>See Also</H2>
57<p><CODE><A href="WM_Init.html">WM_Init</A>  <A href="WM_Initialize.html">WM_Initialize</A>
58
59</CODE></p>
60
61<H2>Revision History</H2>
62<P>
632008/09/12 Initial version.
64</P>
65<hr><p>CONFIDENTIAL</p></body>
66</html>
67