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
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/os.h&gt;
16
17BOOL OSIsRestart(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 system has been booted by <A href="OSExec.html"><CODE>OSExecl</CODE></A> or <A href="OSExec.html"><CODE>OSExecv</CODE></A>. Otherwise, it returns <CODE>FALSE</CODE>.</P>
25
26<H2>Description</H2>
27<P>Returns <CODE>TRUE</CODE> if the system has been booted by <A href="OSExec.html"><CODE>OSExecl</CODE></A> or <A href="OSExec.html"><CODE>OSExecv</CODE></A>. Otherwise, it returns <CODE>FALSE</CODE>. Use this macro to check if the system has been booted by the <A href="OSExec.html"><CODE>OSExecl</CODE></A>/<A href="OSExec.html"><CODE>OSExecv</CODE></A> function.</P>
28
29<H2>See Also</H2>
30<P class="reference">
31<A href="OSGetResetCode.html">OSGetResetCode</A>,
32<A href="OSExec.html">OSExecl</A>/<A href="OSExec.html">OSExecv</A>
33</P>
34
35<H2>Revision History</H2>
36<P>
372006/03/01 Initial version.<br>
38</P>
39
40<hr><p>CONFIDENTIAL</p></body>
41</HTML>