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>WPADDisconnect</title>
10</head>
11
12<body>
13
14<h1>WPADDisconnect</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/wpad.h&gt;
21
22#define WPAD_CHAN0               0
23#define WPAD_CHAN1               1
24#define WPAD_CHAN2               2
25#define WPAD_CHAN3               3
26
27void WPADDisconnect( s32 chan );
28  </code></pre></dd>
29</dl>
30
31<h2>Arguments</h2>
32<TABLE border="1">
33  <TBODY>
34    <TR>
35<TD width="120" bgcolor="#ffffe8"><code><b><i>chan</i></b></code></TD>
36<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD>
37    </TR>
38  </TBODY>
39</TABLE>
40<h2>Return Values</h2>
41<p>None.</p>
42<H2>Description</H2>
43<p>
44Ends the connection for the Wii Remote of the specified channel.
45</p>
46<p>
47The Wii Remote and controller number correspondence information will be cleared at disconnection.
48</p>
49
50<h2>See Also</h2>
51<p>
52<A href="./toc.html" target="contents">WPAD Functions</A><br>
53</p>
54
55<H2>Revision History</H2>
56<P>
572006/09/18 Added a note that the controller number information will be cleared.<br>2006/06/19 Initial version.<br>
58</P>
59
60<hr>
61<P>CONFIDENTIAL</p>
62</BODY>
63</HTML>