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<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/wpad.h> 19 20#define WPAD_CHAN0 0 21#define WPAD_CHAN1 1 22#define WPAD_CHAN2 2 23#define WPAD_CHAN3 3 24 25void WPADDisconnect( s32 chan ); 26</pre></dd></dl> 27 28<h2>Arguments</h2> 29<TABLE class="arguments" border="1" > 30 <TBODY> 31 <TR> 32<TH>chan</TH> 33<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 34 </TR> 35 </TBODY> 36</TABLE> 37 38<h2>Return Values</h2> 39<p>None.</p> 40 41<H2>Description</H2> 42<p> 43Ends the connection for the Wii Remote of the specified channel. 44</p> 45<p> 46The library first turns off the player indicator light, then disconnects. The information for the Wii Remote with the controller number specified in <SPAN class="argument">chan</SPAN> is cleared at disconnection. 47</p> 48 49<h2>See Also</h2> 50<p> 51None. 52</p> 53 54<H2>Revision History</H2> 55<P> 562008/05/19 Revised the explanation of how the controller number's information is cleared.<br>2008/04/16 Added that the player indicator light is turned off first.<br>2006/09/18 Mentioned that the controller number information is cleared.<br>2006/06/19 Initial version.<br> 57</P> 58 59<hr><p>CONFIDENTIAL</p></body> 60</html>