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 name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>OSIsRestart</TITLE>
9</HEAD>
10<BODY>
11<H1>OSIsRestart</H1>
12<H2>C Specification</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;revolution/os.h&gt;
16
17BOOL OSIsRestart(void);
18</CODE></PRE></DL>
19<H2>Arguments</H2>
20<P>None.</P>
21<H2>Return Values</H2>
22<P>Returns <CODE>TRUE</CODE> if the system has been booted by <CODE><A href="OSExec.html">OSExecl</A></CODE>, or <CODE><A href="OSExec.html">OSExecv</A></CODE>. Otherwise, returns <CODE>FALSE</CODE>.</P>
23<H2>Description</H2>
24<P>Returns <CODE>TRUE</CODE> if the system has been booted by <CODE><A href="OSExec.html">OSExecl</A></CODE>, or <CODE><A href="OSExec.html">OSExecv</A></CODE>. Otherwise, returns <CODE>FALSE</CODE>. Use this macro to check whether the system has been booted by <code><a href="OSExec.html">OSExecl</a></code>/<code><a href="OSExec.html">OSExecv</a></code>.</P>
25
26<H2>See Also</H2>
27<P><CODE><A href="OSGetResetCode.html">OSGetResetCode</A><BR> <A href="OSExec.html">OSExecl</A></CODE>/<CODE><A href="OSExec.html">OSExecv</A></CODE></P>
28<H2>Revision History</H2>
29<P>2006/03/01 Initial version.</P>
30</BODY></HTML>