1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" href="../../CSS/revolution.css" type="text/css"> 8<TITLE>OSGetResetButtonState</TITLE> 9</HEAD> 10<BODY> 11<H1>OSGetResetButtonState</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/os.h> 16 17BOOL OSGetResetButtonState(void); 18</pre></dd></dl> 19 20<H2>Arguments</H2> 21<P>None.</P> 22 23<H2>Return Values</H2> 24<P>Returns <CODE>TRUE</CODE> if the reset button has been pressed; otherwise, returns <CODE>FALSE</CODE>.</P> 25 26<H2>Description</H2> 27<P>Determines whether the reset button has been pushed. This function returns <CODE>TRUE</CODE> if RESET has been pressed even once since the last time this function was called or since initializing the OS. Once <CODE>TRUE</CODE> is returned, <CODE>FALSE</CODE> will be returned until RESET is pressed again. 28 29<P><B>Note:</B> The Wii console hardware is not automatically reset even if RESET is pressed. Each game application must decide how to handle RESET button input.</P> 30 31<H2>See Also</H2> 32<P class="reference"> 33<A href="../toc.html#Reset Button" target="contents">Reset Button Functions</A>, 34<A href="OSSetResetCallback.html">OSSetResetCallback</A> 35</P> 36 37<H2>Revision History</H2> 38<P> 392006/08/10 Revised to match Wii specifications.<BR>2006/03/01 Initial version.<br> 40</P> 41 42<hr><p>CONFIDENTIAL</p></body> 43</HTML>