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<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/os.h></CODE></PRE> 16 <DD> 17<PRE><CODE>BOOL OSGetResetButtonState (void);</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>Returns <CODE>TRUE</CODE> if the reset button has been pressed; otherwise, returns <CODE>FALSE</CODE>.</P> 23<H2>Description</H2> 24<P>Determines whether the reset button has been pushed. This function returns <CODE>TRUE</CODE> if the reset button has been pressed even once since initializing the OS or since the last time this function was called. Once <CODE>TRUE</CODE> is returned, <CODE>FALSE</CODE> will be returned until the reset button is pressed again. 25 26<P><strong>Note:</strong> The Revolution console hardware is not automatically reset by pressing RESET. Each game application must decide how to handle RESET button input. Each game application must decide how to handle RESET button input.</P> 27 28<H2>See Also</H2> 29<P><a href="../toc.html#Reset Button" target="contents">Reset Button Functions</a>,<br> <a href="OSSetResetCallback.html"><code>OSSetResetCallback()</code></a></P> 30<H2>Revision History</H2> 31<P> 3208/10/2006 Revised to match Wii specifications.<BR>03/01/2006 Initial version. 33</P> 34<hr> 35<P>CONFIDENTIAL</p> 36</BODY> 37</HTML>