1 2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 3<html> 4 5<head> 6<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 7<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 8<META http-equiv="Content-Style-Type" content="text/css"> 9<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 10<title>WPADDetachDummyExtension</title> 11</head> 12 13<body> 14 15<h1>WPADDetachDummyExtension</h1> 16 17<h2>Syntax</h2> 18<dl><dd><pre class="construction"> 19#include <revolution/wpad.h> 20 21#define WPAD_CHAN0 0 22#define WPAD_CHAN1 1 23#define WPAD_CHAN2 2 24#define WPAD_CHAN3 3 25 26BOOL WPADDetachDummyExtension( s32 chan ); 27</pre></dd></dl> 28 29<h2>Arguments</h2> 30<TABLE class="arguments" border="1" > 31 <TBODY> 32 <TR> 33<TH>chan</TH> 34<TD>One of the <code>WPAD_CHAN<i>n</i></code> values.</TD> 35 </TR> 36 </TBODY> 37</TABLE> 38 39<h2>Return Values</h2> 40<p> 41If the device type is restored successfully to <code>WPAD_DEV_CORE</code>, returns <code>TRUE</code>; otherwise, returns <code>FALSE</code>. 42</p> 43 44<H2>Description</H2> 45<p> 46For the Wii Remote on the specified channel, changes the device type to <code>WPAD_DEV_CORE</code>. If the device type has been changed with the <a href="./WPADAttachDummyExtension.html"><CODE>WPADAttachDummyExtension</CODE></a> function, use this function to restore the device type to its original status. 47</p> 48<p> 49<font color="red">Because this function is used for debugging applications, it works only with the debug version library. It does not work with the release version library, where <code>FALSE</code> is always the return value.</font> 50</p> 51 52<h2>See Also</h2> 53<p class="reference"> 54<A href="./WPADAttachDummyExtension.html">WPADAttachDummyExtension</A> 55</p> 56 57<H2>Revision History</H2> 58<p> 592007/05/02 Changed so that <code>FALSE</code> is always returned with the release version.<br>2007/04/18 Initial version.<br> 60</P> 61 62<hr><p>CONFIDENTIAL</p></body> 63</html>