1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=utf-8"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>OSRestoreInterrupts</title> 10</head> 11 12<body> 13 14<h1>OSRestoreInterrupts</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20BOOL OSRestoreInterrupts(BOOL enable); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH><STRONG><EM><CODE>enable</CODE></EM></STRONG></TH> 27<TD>Nonzero value to enable interrupts. Must be a return value from a previous call to the <A href="OSDisableInterrupts.html"><CODE>OSDisableInterrupts</CODE></A>, <A href="OSEnableInterrupts.html"><CODE>OSEnableInterrupts</CODE></A>, or <CODE>OSRestoreInterrupts</CODE> function.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>Nonzero value if interrupts were enabled. Zero if interrupts were disabled.</p> 33 34<H2>Description</H2> 35<P>Restores the previous interrupt level.</P> 36 37<h2>See Also</h2> 38<P class="reference"> 39<a href="../toc.html#Interrupt" target="contents">Interrupt Functions</a><BR> <a href="OSDisableInterrupts.html">OSDisableInterrupts</a><BR> <a href="OSEnableInterrupts.html">OSEnableInterrupts</a><BR> <a href="OSIsEnableInterrupts.html">OSIsEnableInterrupts</a> 40</p> 41 42<H2>Revision History</H2> 43<P> 442009/07/16 Added <code>OSIsEnableInterrupts</code> to <B>See Also</B>.<br>2006/03/01 Initial version.<br> 45</P> 46 47<hr><p>CONFIDENTIAL</p></body> 48</html>